station_cmd.c
changeset 4848 56549aa3e234
parent 4638 8abe4f10b94b
child 4850 b4e9be22945f
--- a/station_cmd.c	Sat Oct 14 15:44:28 2006 +0000
+++ b/station_cmd.c	Sat Oct 14 15:49:43 2006 +0000
@@ -444,7 +444,7 @@
 	Station* st;
 
 	FOR_ALL_STATIONS(st) {
-		if ((owner == OWNER_SPECTATOR || st->owner == owner)) {
+		if ((owner == PLAYER_SPECTATOR || st->owner == owner)) {
 			uint cur_dist = DistanceManhattan(tile, st->xy);
 
 			if (cur_dist < threshold) {
@@ -2814,7 +2814,7 @@
 {
 	if (!IsTileOwner(tile, old_player)) return;
 
-	if (new_player != OWNER_SPECTATOR) {
+	if (new_player != PLAYER_SPECTATOR) {
 		Station* st = GetStationByTile(tile);
 
 		SetTileOwner(tile, new_player);