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

This commit is contained in:
2006-05-19 10:04:03 +00:00
parent 62dbc36741
commit cd6ab6178c
6 changed files with 10 additions and 1 deletions

View File

@@ -863,6 +863,7 @@ int32 CmdBuildShip(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
v->spritenum = svi->image_index;
v->cargo_type = svi->cargo_type;
v->cargo_subtype = 0;
v->cargo_cap = svi->capacity;
v->value = value;