diff options
author | rubidium <rubidium@openttd.org> | 2008-05-18 16:51:44 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-18 16:51:44 +0000 |
commit | 3ee25565858062788c7466e1bd2fef64b2ae2c57 (patch) | |
tree | 4fbae4aa35ef120179cf9069c2eb93fa136ed7a2 /src/station.cpp | |
parent | dc69a7c51bb379a9a35cec77d235567b30cde867 (diff) | |
download | openttd-3ee25565858062788c7466e1bd2fef64b2ae2c57.tar.xz |
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/station.cpp b/src/station.cpp index 8922a1fe3..355abb7ba 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -74,8 +74,7 @@ Station::~Station() } MarkDirty(); - RebuildStationLists(); - InvalidateWindowClasses(WC_STATION_LIST); + InvalidateWindowData(WC_STATION_LIST, this->owner, 0); DeleteWindowById(WC_STATION_VIEW, index); |