diff options
-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; |