rail_cmd.c
changeset 2502 35e279b13856
parent 2499 bf819c473e13
child 2520 75eb66d6e371
--- a/rail_cmd.c	Fri Oct 07 20:53:21 2005 +0000
+++ b/rail_cmd.c	Mon Oct 10 10:36:37 2005 +0000
@@ -2167,7 +2167,7 @@
 {
 	if (!IsTileOwner(tile, old_player)) return;
 
-	if (new_player != 255) {
+	if (new_player != OWNER_SPECTATOR) {
 		SetTileOwner(tile, new_player);
 	}	else {
 		DoCommandByTile(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR);