Add setting to allow placing stations under bridges
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include "viewport_func.h"
|
||||
#include "station_map.h"
|
||||
#include "industry_map.h"
|
||||
#include "object_map.h"
|
||||
|
||||
#include "table/strings.h"
|
||||
#include "table/bridge_land.h"
|
||||
@@ -500,6 +501,11 @@ CommandCost CmdBuildBridge(TileIndex end_tile, DoCommandFlag flags, uint32 p1, u
|
||||
break;
|
||||
}
|
||||
|
||||
case MP_STATION: {
|
||||
if (!_settings_game.construction.allow_stations_under_bridges) goto not_valid_below;
|
||||
break;
|
||||
}
|
||||
|
||||
case MP_CLEAR:
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user