summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r--src/ship_cmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp
index 55c695603..ea1233da4 100644
--- a/src/ship_cmd.cpp
+++ b/src/ship_cmd.cpp
@@ -681,8 +681,10 @@ CommandCost CmdBuildShip(TileIndex tile, DoCommandFlag flags, const Engine *e, u
v->spritenum = svi->image_index;
v->cargo_type = e->GetDefaultCargoType();
v->cargo_cap = svi->capacity;
+ v->refit_cap = 0;
v->last_station_visited = INVALID_STATION;
+ v->last_loading_station = INVALID_STATION;
v->engine_type = e->index;
v->reliability = e->reliability;