diff options
author | tron <tron@openttd.org> | 2005-09-28 19:35:36 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-09-28 19:35:36 +0000 |
commit | 90e33aed225cf00a75185d731cad5ce1c3520559 (patch) | |
tree | fabd4f30d2f27b1466d0b8f0c8737b900cf5634c /road_cmd.c | |
parent | f0e3072b6c82907322cfdec40da3ec682dc7be0b (diff) | |
download | openttd-90e33aed225cf00a75185d731cad5ce1c3520559.tar.xz |
(svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate
Diffstat (limited to 'road_cmd.c')
-rw-r--r-- | road_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c index aa60867e5..64c8969ee 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -1172,7 +1172,7 @@ static void ChangeTileOwner_Road(TileIndex tile, PlayerID old_player, PlayerID n // road/rail crossing where the road is owned by the current player? if (old_player == _m[tile].m3 && IsLevelCrossing(tile)) { - _m[tile].m3 = (new_player == 0xFF) ? OWNER_NONE : new_player; + _m[tile].m3 = (new_player == OWNER_SPECTATOR) ? OWNER_NONE : new_player; } if (!IsTileOwner(tile, old_player)) return; |