summaryrefslogtreecommitdiff
path: root/station_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
commit76db75d81a10d7e96c9360a2b66c23310ab7e7e5 (patch)
tree0b07aad26986bffe1c58a0555c2c51a8f7f4be3b /station_cmd.c
parentcafd3528a47eddae3214aef3c96de619d56a026b (diff)
downloadopenttd-76db75d81a10d7e96c9360a2b66c23310ab7e7e5.tar.xz
(svn r3028) s/255/OWNER_SPECTATOR/
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c
index e5e51d459..266505338 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -2952,7 +2952,7 @@ static void ChangeTileOwner_Station(TileIndex tile, PlayerID old_player, PlayerI
{
if (!IsTileOwner(tile, old_player)) return;
- if (new_player != 255) {
+ if (new_player != OWNER_SPECTATOR) {
Station *st = GetStation(_m[tile].m2);
SetTileOwner(tile, new_player);
st->owner = new_player;