(svn r3980) Fix glitch in r3979 spotted by Rubidium. Maybe I'm getting too old for this...

This commit is contained in:
tron 2006-03-19 13:44:11 +00:00
parent 77e5cf4bc1
commit 52e5d9f328
1 changed files with 3 additions and 3 deletions

View File

@ -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;