(svn r8741) -Fix (r8735): make the saveguards of CmdBuildRoadStop more robust and add roadstops.grf to the list of required grfs.
This commit is contained in:
@@ -109,8 +109,6 @@ static void PlaceRoadStop(TileIndex tile, uint32 p2, uint32 cmd)
|
||||
!(GetRoadBits(tile) & ((DiagDirection)p1 == DIAGDIR_NE ? ROAD_Y : ROAD_X)))) {
|
||||
|
||||
cmd ^= CMD_AUTO;
|
||||
SETBIT(p2, 2); // We're building over an existing road
|
||||
if (IsTileOwner(tile, OWNER_TOWN)) SETBIT(p2, 3); // It's a town owned road
|
||||
}
|
||||
}
|
||||
DoCommandP(tile, p1, p2, CcRoadDepot, cmd);
|
||||
|
Reference in New Issue
Block a user