diff options
author | darkvater <darkvater@openttd.org> | 2005-01-30 16:08:19 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-30 16:08:19 +0000 |
commit | 121f563dafce14e34d9708485d22cee926ae8348 (patch) | |
tree | 51e72f1fd541a708095fd1924c2f5b9a9bbd4662 | |
parent | c8ca8130bda175ade4571ae57faf2b7e1c132476 (diff) | |
download | openttd-121f563dafce14e34d9708485d22cee926ae8348.tar.xz |
(svn r1733) - Fix: oops "| 1" is SETBIT(x, 0), not 1 :(. Now you can remove signals again
-rw-r--r-- | rail_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index c6068e49b..f23d11b55 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -1146,7 +1146,7 @@ int32 CmdRemoveSingleSignal(int x, int y, uint32 flags, uint32 p1, uint32 p2) /* Stub for the unified Signal builder/remover */ int32 CmdRemoveSignalTrack(int x, int y, uint32 flags, uint32 p1, uint32 p2) { - return CmdSignalTrackHelper(x, y, flags, p1, SETBIT(p2, 1)); + return CmdSignalTrackHelper(x, y, flags, p1, SETBIT(p2, 0)); } typedef int32 DoConvertRailProc(uint tile, uint totype, bool exec); |