diff options
author | tron <tron@openttd.org> | 2006-03-19 13:44:11 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-19 13:44:11 +0000 |
commit | 52e5d9f328de74cc984077d49ea612961e5ce969 (patch) | |
tree | 34cb68dfe3d6fcfb4814e9b4e2d1b5723c0753f0 | |
parent | 77e5cf4bc1137805a8e69e6a8ce1370af09dd8d8 (diff) | |
download | openttd-52e5d9f328de74cc984077d49ea612961e5ce969.tar.xz |
(svn r3980) Fix glitch in r3979 spotted by Rubidium. Maybe I'm getting too old for this...
-rw-r--r-- | water_cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/water_cmd.c b/water_cmd.c index a67361d63..3213424f6 100644 --- a/water_cmd.c +++ b/water_cmd.c @@ -527,9 +527,9 @@ static void TileLoopWaterHelper(TileIndex tile, const TileIndexDiffC *offs) tracks = GetTrackBits(target); slope = GetTileSlope(target, NULL); if (!( - (slope == 1 && tracks == TRACK_BIT_RIGHT) && - (slope == 2 && tracks == TRACK_BIT_UPPER) && - (slope == 4 && tracks == TRACK_BIT_LEFT) && + (slope == 1 && tracks == TRACK_BIT_RIGHT) || + (slope == 2 && tracks == TRACK_BIT_UPPER) || + (slope == 4 && tracks == TRACK_BIT_LEFT) || (slope == 8 && tracks == TRACK_BIT_LOWER) )) { break; |