summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index 1d6e1383d..0f9abf178 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -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;