--- 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);