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 | 221494bd3fa26c47294424b4c53f28f494a38a53 (patch) | |
tree | 84eb1b2c4e583d619fe3ffec3f8c53bdadf668d0 | |
parent | cebb86777ab56559938a51bfdb2a3188eb427d08 (diff) | |
download | openttd-221494bd3fa26c47294424b4c53f28f494a38a53.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 { |