summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-14 14:19:53 +0000
committerdarkvater <darkvater@openttd.org>2004-09-14 14:19:53 +0000
commitc79e8ad626acbc9b8d6dd3fdc4fa40e100f2167e (patch)
tree7df8b49dd0e2fa59e7cd1963b5fdb40849630535 /station.h
parent5e699ca65d58722d0e0daebdfc61fbc8913b56bc (diff)
downloadopenttd-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/station.h b/station.h
index e221318ad..7e62ad280 100644
--- a/station.h
+++ b/station.h
@@ -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++)