changeset 3165:e61718f5fcd9 draft

(svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592
author tron <tron@openttd.org>
date Wed, 08 Mar 2006 13:03:29 +0000
parents eae1077887ad
children 50848af4c1bb
files water_cmd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/water_cmd.c
+++ b/water_cmd.c
@@ -545,7 +545,7 @@
 				// Middle part of bridge with clear land below?
 				if ((_m[target].m5 & 0xF8) == 0xC0) {
 					_m[target].m5 |= 0x08;
-					MarkTileDirtyByTile(tile);
+					MarkTileDirtyByTile(target);
 				}
 				break;