(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 bf3811122d
commit 667666f1a3

View File

@ -527,9 +527,9 @@ static void TileLoopWaterHelper(TileIndex tile, const TileIndexDiffC *offs)
tracks = GetTrackBits(target); tracks = GetTrackBits(target);
slope = GetTileSlope(target, NULL); slope = GetTileSlope(target, NULL);
if (!( if (!(
(slope == 1 && tracks == TRACK_BIT_RIGHT) && (slope == 1 && tracks == TRACK_BIT_RIGHT) ||
(slope == 2 && tracks == TRACK_BIT_UPPER) && (slope == 2 && tracks == TRACK_BIT_UPPER) ||
(slope == 4 && tracks == TRACK_BIT_LEFT) && (slope == 4 && tracks == TRACK_BIT_LEFT) ||
(slope == 8 && tracks == TRACK_BIT_LOWER) (slope == 8 && tracks == TRACK_BIT_LOWER)
)) { )) {
break; break;