summaryrefslogtreecommitdiff
path: root/src/road_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-14 20:58:19 +0000
committerrubidium <rubidium@openttd.org>2007-02-14 20:58:19 +0000
commitdcc7dd936ef9eae6375be94e750db5861e830d4c (patch)
tree9e975c0a864b9bd93a80002f53634479162a1ab5 /src/road_gui.cpp
parent3053109c635f2874564b9fb5186328ed6fcc496f (diff)
downloadopenttd-dcc7dd936ef9eae6375be94e750db5861e830d4c.tar.xz
(svn r8741) -Fix (r8735): make the saveguards of CmdBuildRoadStop more robust and add roadstops.grf to the list of required grfs.
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r--src/road_gui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index 535fcbb93..0f8f00074 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -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);