tunnelbridge_cmd.c
changeset 3233 03f24ab40946
parent 3231 eb74c2e361f9
child 3234 986c30171e92
--- a/tunnelbridge_cmd.c	Thu Mar 16 13:23:47 2006 +0000
+++ b/tunnelbridge_cmd.c	Thu Mar 16 13:35:35 2006 +0000
@@ -1298,7 +1298,7 @@
 	if (new_player != OWNER_SPECTATOR) {
 		SetTileOwner(tile, new_player);
 	}	else {
-		if ((_m[tile].m5 & 0xC0) == 0xC0) {
+		if ((_m[tile].m5 & 0xE0) == 0xE0) {
 			// the stuff BELOW the middle part is owned by the deleted player.
 			if (!(_m[tile].m5 & (1 << 4 | 1 << 3))) {
 				// convert railway into grass.