(svn r4910) - NewGRF: add and initialize cargo subtype for vehicle visual variations

This commit is contained in:
peter1138
2006-05-19 10:04:03 +00:00
parent d2c8412e50
commit 70306b544f
6 changed files with 10 additions and 1 deletions

View File

@@ -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;