(svn r3028) s/255/OWNER_SPECTATOR/

This commit is contained in:
tron
2005-10-10 10:36:37 +00:00
parent cafd3528a4
commit 76db75d81a
6 changed files with 6 additions and 6 deletions

View File

@@ -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;