diff options
author | darkvater <darkvater@openttd.org> | 2004-09-14 14:19:53 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-09-14 14:19:53 +0000 |
commit | c79e8ad626acbc9b8d6dd3fdc4fa40e100f2167e (patch) | |
tree | 7df8b49dd0e2fa59e7cd1963b5fdb40849630535 /station.h | |
parent | 5e699ca65d58722d0e0daebdfc61fbc8913b56bc (diff) | |
download | openttd-c79e8ad626acbc9b8d6dd3fdc4fa40e100f2167e.tar.xz |
(svn r244) -Fix: Stations were not sorted for non-player-0 players
-Fix: Correctly resorting vehicle list of player when the list of another player is open.
Diffstat (limited to 'station.h')
-rw-r--r-- | station.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -79,7 +79,8 @@ void ShowStationViewWindow(int station); void UpdateAllStationVirtCoord(); VARDEF Station _stations[250]; -VARDEF bool _station_sort_dirty; +VARDEF bool _station_sort_dirty[MAX_PLAYERS]; +VARDEF bool _global_station_sort_dirty; #define DEREF_STATION(i) (&_stations[i]) #define FOR_ALL_STATIONS(st) for(st=_stations; st != endof(_stations); st++) |