summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c
index e5e51d459..266505338 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -2952,7 +2952,7 @@ static void ChangeTileOwner_Station(TileIndex tile, PlayerID old_player, PlayerI
{
if (!IsTileOwner(tile, old_player)) return;
- if (new_player != 255) {
+ if (new_player != OWNER_SPECTATOR) {
Station *st = GetStation(_m[tile].m2);
SetTileOwner(tile, new_player);
st->owner = new_player;