diff options
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r-- | src/aircraft_cmd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index 18d284dbb..e0eb3558e 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -271,13 +271,16 @@ CommandCost CmdBuildAircraft(TileIndex tile, DoCommandFlag flags, const Engine * v->spritenum = avi->image_index; v->cargo_cap = avi->passenger_capacity; + v->refit_cap = 0; u->cargo_cap = avi->mail_capacity; + u->refit_cap = 0; v->cargo_type = e->GetDefaultCargoType(); u->cargo_type = CT_MAIL; v->name = NULL; v->last_station_visited = INVALID_STATION; + v->last_loading_station = INVALID_STATION; v->acceleration = avi->acceleration; v->engine_type = e->index; |