mirror of
https://github.com/OpenTTD/OpenTTD
synced 2025-12-10 23:12:08 +01:00
Change: Allow rail and road depot overbuilding in current orientation in order to connect to rail or road
This commit is contained in:
committed by
Kuhnovic
parent
95de90dd4e
commit
bef11941c6
@@ -989,7 +989,7 @@ CommandCost CmdBuildTrainDepot(DoCommandFlag flags, TileIndex tile, RailType rai
|
||||
CommandCost ret = CheckTileOwnership(tile);
|
||||
if (ret.Failed()) return ret;
|
||||
|
||||
if (dir == GetRailDepotDirection(tile)) return_cmd_error(STR_ERROR_ALREADY_BUILT);
|
||||
if (dir == GetRailDepotDirection(tile)) return CommandCost();
|
||||
|
||||
ret = EnsureNoVehicleOnGround(tile);
|
||||
if (ret.Failed()) return ret;
|
||||
|
||||
Reference in New Issue
Block a user