summaryrefslogtreecommitdiff
path: root/water_cmd.c
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
commit000bb4de54a706020fcfa071209b78c13c7c40f6 (patch)
tree4df9c91f5f8c43dc817034dbbf8e96a8fd7f9742 /water_cmd.c
parentb258c39922ea908590e0d418bd1ec73173807d64 (diff)
downloadopenttd-000bb4de54a706020fcfa071209b78c13c7c40f6.tar.xz
(svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592
Diffstat (limited to 'water_cmd.c')
-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;