summaryrefslogtreecommitdiff
path: root/tunnelbridge_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-10 10:36:37 +0000
committertron <tron@openttd.org>2005-10-10 10:36:37 +0000
commit7ab7d79190ceecb9560f1dc4091d7d53b9a5b023 (patch)
tree0b07aad26986bffe1c58a0555c2c51a8f7f4be3b /tunnelbridge_cmd.c
parent3d87a4d7ea826c288eae5ed168e9cf2489df11a6 (diff)
downloadopenttd-7ab7d79190ceecb9560f1dc4091d7d53b9a5b023.tar.xz
(svn r3028) s/255/OWNER_SPECTATOR/
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r--tunnelbridge_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c
index ef59e06db..d51ffe6f3 100644
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -1412,7 +1412,7 @@ static void ChangeTileOwner_TunnelBridge(TileIndex tile, PlayerID old_player, Pl
{
if (!IsTileOwner(tile, old_player)) return;
- if (new_player != 255) {
+ if (new_player != OWNER_SPECTATOR) {
SetTileOwner(tile, new_player);
} else {
if((_m[tile].m5 & 0xC0)==0xC0) {