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 /aircraft_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 'aircraft_cmd.c')
-rw-r--r-- | aircraft_cmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c index fd7dad834..e52618210 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -236,6 +236,8 @@ int32 CmdBuildAircraft(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) v->cargo_type = CT_PASSENGERS; u->cargo_type = CT_MAIL; + v->cargo_subtype = 0; + v->string_id = STR_SV_AIRCRAFT_NAME; // v->next_order_param = v->next_order = 0; |