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 | 8580e73b65c94f978319b2b4e7f4dc1833bfa149 (patch) | |
tree | 51e72f1fd541a708095fd1924c2f5b9a9bbd4662 | |
parent | f838448552d0886956957323a23a194ed34f53fc (diff) | |
download | openttd-8580e73b65c94f978319b2b4e7f4dc1833bfa149.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); |