openttd.c
changeset 2360 09e42e4ee139
parent 2340 0a9f3eeccb96
child 2380 3b26659b4a9a
--- a/openttd.c	Tue Aug 23 07:28:45 2005 +0000
+++ b/openttd.c	Tue Aug 23 18:47:04 2005 +0000
@@ -1008,9 +1008,9 @@
 			if (IsLevelCrossing(tile) && _m[tile].m3 & 0x80)
 				_m[tile].m3 = OWNER_TOWN;
 
-			if (_m[tile].owner & 0x80) SetTileOwner(tile, OWNER_TOWN);
+			if (_m[tile].m1 & 0x80) SetTileOwner(tile, OWNER_TOWN);
 		} else if (IsTileType(tile, MP_TUNNELBRIDGE)) {
-			if (_m[tile].owner & 0x80) SetTileOwner(tile, OWNER_TOWN);
+			if (_m[tile].m1 & 0x80) SetTileOwner(tile, OWNER_TOWN);
 		}
 	}
 }