mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r3980) Fix glitch in r3979 spotted by Rubidium. Maybe I'm getting too old for this...
This commit is contained in:
parent
bf3811122d
commit
667666f1a3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user