tunnelbridge_cmd.c
changeset 4848 56549aa3e234
parent 4656 acffecd6f484
child 4849 9a3c3ae7f62f
--- a/tunnelbridge_cmd.c	Sat Oct 14 15:44:28 2006 +0000
+++ b/tunnelbridge_cmd.c	Sat Oct 14 15:49:43 2006 +0000
@@ -1314,7 +1314,7 @@
 {
 	if (!IsTileOwner(tile, old_player)) return;
 
-	if (new_player != OWNER_SPECTATOR) {
+	if (new_player != PLAYER_SPECTATOR) {
 		SetTileOwner(tile, new_player);
 	} else {
 		if (IsBridge(tile) && IsBridgeMiddle(tile) && IsTransportUnderBridge(tile)) {