(svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592
authortron
Wed, 08 Mar 2006 13:03:29 +0000
changeset 3165 0d54b953fb10
parent 3164 3b7658159a12
child 3166 91e9fc028c95
(svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592
water_cmd.c
--- a/water_cmd.c	Wed Mar 08 12:26:56 2006 +0000
+++ b/water_cmd.c	Wed Mar 08 13:03:29 2006 +0000
@@ -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;