diff options
Diffstat (limited to 'rail_cmd.c')
-rw-r--r-- | rail_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index c4c1d86d7..fec972c90 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -2167,7 +2167,7 @@ static void ChangeTileOwner_Track(TileIndex tile, PlayerID old_player, PlayerID { 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); |