mirror of https://github.com/OpenTTD/OpenTTD
(svn r1733) - Fix: oops "| 1" is SETBIT(x, 0), not 1 :(. Now you can remove signals again
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 */
|
/* Stub for the unified Signal builder/remover */
|
||||||
int32 CmdRemoveSignalTrack(int x, int y, uint32 flags, uint32 p1, uint32 p2)
|
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);
|
typedef int32 DoConvertRailProc(uint tile, uint totype, bool exec);
|
||||||
|
|
Loading…
Reference in New Issue