diff options
author | tron <tron@openttd.org> | 2005-10-10 10:36:37 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-10 10:36:37 +0000 |
commit | 7ab7d79190ceecb9560f1dc4091d7d53b9a5b023 (patch) | |
tree | 0b07aad26986bffe1c58a0555c2c51a8f7f4be3b /unmovable_cmd.c | |
parent | 3d87a4d7ea826c288eae5ed168e9cf2489df11a6 (diff) | |
download | openttd-7ab7d79190ceecb9560f1dc4091d7d53b9a5b023.tar.xz |
(svn r3028) s/255/OWNER_SPECTATOR/
Diffstat (limited to 'unmovable_cmd.c')
-rw-r--r-- | unmovable_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unmovable_cmd.c b/unmovable_cmd.c index 2a5abe3ca..e78d07baa 100644 --- a/unmovable_cmd.c +++ b/unmovable_cmd.c @@ -389,7 +389,7 @@ static void ChangeTileOwner_Unmovable(TileIndex tile, PlayerID old_player, Playe { if (!IsTileOwner(tile, old_player)) return; - if (_m[tile].m5==3 && new_player != 255) { + if (_m[tile].m5 == 3 && new_player != OWNER_SPECTATOR) { SetTileOwner(tile, new_player); } else { DoClearSquare(tile); |