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 | 76db75d81a10d7e96c9360a2b66c23310ab7e7e5 (patch) | |
tree | 0b07aad26986bffe1c58a0555c2c51a8f7f4be3b /unmovable_cmd.c | |
parent | cafd3528a47eddae3214aef3c96de619d56a026b (diff) | |
download | openttd-76db75d81a10d7e96c9360a2b66c23310ab7e7e5.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); |