summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-08 13:03:29 +0000
committertron <tron@openttd.org>2006-03-08 13:03:29 +0000
commit2c6435ccc986bc24079506f4ab145c150b537164 (patch)
tree4df9c91f5f8c43dc817034dbbf8e96a8fd7f9742
parent9b53fb9e0331b29396bf95005a7f8ab0eaf0db04 (diff)
downloadopenttd-2c6435ccc986bc24079506f4ab145c150b537164.tar.xz
(svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592
-rw-r--r--water_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/water_cmd.c b/water_cmd.c
index c4745b763..1d81863d3 100644
--- a/water_cmd.c
+++ b/water_cmd.c
@@ -545,7 +545,7 @@ static void TileLoopWaterHelper(TileIndex tile, const TileIndexDiffC *offs)
// Middle part of bridge with clear land below?
if ((_m[target].m5 & 0xF8) == 0xC0) {
_m[target].m5 |= 0x08;
- MarkTileDirtyByTile(tile);
+ MarkTileDirtyByTile(target);
}
break;