summaryrefslogtreecommitdiff
path: root/src/date.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-07-05 16:50:56 +0000
committeryexo <yexo@openttd.org>2009-07-05 16:50:56 +0000
commit96201f1a41ee091ec9a1556893f83b92e28de7a0 (patch)
tree5b0660717606536e513d06a25c0fb8dc0b44244c /src/date.cpp
parentb9f181afc9f9fc2751625176f0f6fc6d73d5ca29 (diff)
downloadopenttd-96201f1a41ee091ec9a1556893f83b92e28de7a0.tar.xz
(svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint
Diffstat (limited to 'src/date.cpp')
-rw-r--r--src/date.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/date.cpp b/src/date.cpp
index 46cf23582..b0643701f 100644
--- a/src/date.cpp
+++ b/src/date.cpp
@@ -268,6 +268,7 @@ void IncreaseDate()
CompaniesYearlyLoop();
VehiclesYearlyLoop();
TownsYearlyLoop();
+ InvalidateWindowClassesData(WC_BUILD_STATION);
#ifdef ENABLE_NETWORK
if (_network_server) NetworkServerYearlyLoop();
#endif /* ENABLE_NETWORK */