diff options
author | smatz <smatz@openttd.org> | 2008-02-09 12:20:50 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-02-09 12:20:50 +0000 |
commit | a7b786f143b0a4a8cdf94f9fbea5ed92048760c6 (patch) | |
tree | 84eb1b2c4e583d619fe3ffec3f8c53bdadf668d0 | |
parent | 83de4db1c00633a82547b24bde27a599131b2b6f (diff) | |
download | openttd-a7b786f143b0a4a8cdf94f9fbea5ed92048760c6.tar.xz |
(svn r12093) -Fix: do not set station owner for buoys when merging company
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 1762fc754..5d29fbf9e 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -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 { |