diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-19 10:04:03 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-19 10:04:03 +0000 |
commit | cd6ab6178c7daf0aa1c00eda66671f57fc1f73fd (patch) | |
tree | 5849b8eacb3c8960384d3879be8a7f077b13182d /roadveh_cmd.c | |
parent | 62dbc3674138aeaa2da4883e4e45cc77222da794 (diff) | |
download | openttd-cd6ab6178c7daf0aa1c00eda66671f57fc1f73fd.tar.xz |
(svn r4910) - NewGRF: add and initialize cargo subtype for vehicle visual variations
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r-- | roadveh_cmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c index 963f635ec..0c93972de 100644 --- a/roadveh_cmd.c +++ b/roadveh_cmd.c @@ -156,6 +156,7 @@ int32 CmdBuildRoadVeh(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) v->spritenum = rvi->image_index; v->cargo_type = rvi->cargo_type; + v->cargo_subtype = 0; v->cargo_cap = rvi->capacity; // v->cargo_count = 0; v->value = cost; |