diff options
author | rubidium <rubidium@openttd.org> | 2007-02-14 20:58:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-02-14 20:58:19 +0000 |
commit | 79dda0fa07473e4eb6ccda61ce46412fff9642d7 (patch) | |
tree | 9e975c0a864b9bd93a80002f53634479162a1ab5 /src/road_gui.cpp | |
parent | 32d2a012e4e39c31358f94787a74a291778e936e (diff) | |
download | openttd-79dda0fa07473e4eb6ccda61ce46412fff9642d7.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.cpp | 2 |
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); |