Allow building multiple docks per station.
(cherry picked from commit 0110c4a35d383e0be2cbb53cbe9cbe6784abb3e9) # Conflicts: # src/station_cmd.cpp
This commit is contained in:

committed by
Jonathan G Rennison

parent
d486d58d86
commit
1d3cf59d8a
@@ -17,6 +17,7 @@
|
||||
#include "../../debug.h"
|
||||
#include "../../vehicle_base.h"
|
||||
#include "../../roadstop_base.h"
|
||||
#include "../../dock_base.h"
|
||||
#include "../../depot_base.h"
|
||||
#include "../../station_base.h"
|
||||
#include "../../waypoint_base.h"
|
||||
@@ -260,8 +261,8 @@ static int ScriptOrderPositionToRealOrderPosition(VehicleID vehicle_id, ScriptOr
|
||||
TILE_AREA_LOOP(t, st->train_station) {
|
||||
if (st->TileBelongsToRailStation(t)) return t;
|
||||
}
|
||||
} else if (st->dock_tile != INVALID_TILE) {
|
||||
return st->dock_tile;
|
||||
} else if (st->docks != NULL) {
|
||||
return st->docks->flat;
|
||||
} else if (st->bus_stops != NULL) {
|
||||
return st->bus_stops->xy;
|
||||
} else if (st->truck_stops != NULL) {
|
||||
|
Reference in New Issue
Block a user