mirror of https://github.com/OpenTTD/OpenTTD
(svn r3962) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592. Backport of r3792 from trunk
parent
923dee9bec
commit
37c1135d6b
|
@ -544,7 +544,7 @@ static void TileLoopWaterHelper(TileIndex tile, const TileIndexDiffC *offs)
|
||||||
// Middle part of bridge with clear land below?
|
// Middle part of bridge with clear land below?
|
||||||
if ((_m[target].m5 & 0xF8) == 0xC0) {
|
if ((_m[target].m5 & 0xF8) == 0xC0) {
|
||||||
_m[target].m5 |= 0x08;
|
_m[target].m5 |= 0x08;
|
||||||
MarkTileDirtyByTile(tile);
|
MarkTileDirtyByTile(target);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue