(svn r12093) -Fix: do not set station owner for buoys when merging company

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
smatz 17 years ago
parent cebb86777a
commit 221494bd3f

@ -2887,7 +2887,7 @@ static void ChangeTileOwner_Station(TileIndex tile, PlayerID old_player, PlayerI
Station* st = GetStationByTile(tile);
SetTileOwner(tile, new_player);
st->owner = new_player;
if (!IsBuoy(tile)) st->owner = new_player; // do not set st->owner for buoys
RebuildStationLists();
InvalidateWindowClasses(WC_STATION_LIST);
} else {

Loading…
Cancel
Save