From 667666f1a3a108b6297527102f173deff56d072d Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 19 Mar 2006 13:44:11 +0000 Subject: (svn r3980) Fix glitch in r3979 spotted by Rubidium. Maybe I'm getting too old for this... --- water_cmd.c | 6 +++--- 1 file 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; -- cgit v1.2.3-70-g09d2