summaryrefslogtreecommitdiff
path: root/road_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'road_cmd.c')
-rw-r--r--road_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c
index 8c0dd5a5c..eea3d00b4 100644
--- a/road_cmd.c
+++ b/road_cmd.c
@@ -1196,7 +1196,7 @@ static void ChangeTileOwner_Road(TileIndex tile, PlayerID old_player, PlayerID n
if (!IsTileOwner(tile, old_player)) return;
- if (new_player != 255) {
+ if (new_player != OWNER_SPECTATOR) {
SetTileOwner(tile, new_player);
} else {
if (GB(_m[tile].m5, 4, 4) == 0) {