diff options
author | truelight <truelight@openttd.org> | 2007-11-04 23:06:39 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-11-04 23:06:39 +0000 |
commit | 4b8aaa994c3f79ba360bc2e3535f7319b09ef0a9 (patch) | |
tree | b50a237674dc49109595b0832ab58f70e3f9af9c /src/rail_cmd.cpp | |
parent | 69b1d97c0348229bf1ff14a672d7e50aa3d9eb3f (diff) | |
download | openttd-4b8aaa994c3f79ba360bc2e3535f7319b09ef0a9.tar.xz |
(svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13)
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index ebb15f9c9..f0e16edf5 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -802,7 +802,7 @@ CommandCost CmdBuildSingleSignal(TileIndex tile, uint32 flags, uint32 p1, uint32 { /* See if this is a valid track combination for signals, (ie, no overlap) */ TrackBits trackbits = GetTrackBits(tile); - if (KILL_FIRST_BIT(trackbits) != 0 && /* More than one track present */ + if (KillFirstBit(trackbits) != TRACK_BIT_NONE && /* More than one track present */ trackbits != TRACK_BIT_HORZ && trackbits != TRACK_BIT_VERT) { return CMD_ERROR; |