mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r1733) - Fix: oops "| 1" is SETBIT(x, 0), not 1 :(. Now you can remove signals again
This commit is contained in:
parent
f838448552
commit
8580e73b65
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user