summaryrefslogtreecommitdiff
path: root/src/cheat_gui.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/cheat_gui.cpp
parentb9f181afc9f9fc2751625176f0f6fc6d73d5ca29 (diff)
downloadopenttd-96201f1a41ee091ec9a1556893f83b92e28de7a0.tar.xz
(svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint
Diffstat (limited to 'src/cheat_gui.cpp')
-rw-r--r--src/cheat_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp
index f3ce7d0e1..de7eaec97 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -98,6 +98,7 @@ static int32 ClickChangeDateCheat(int32 p1, int32 p2)
SetDate(ConvertYMDToDate(_cur_year + p2, ymd.month, ymd.day));
EnginesMonthlyLoop();
SetWindowDirty(FindWindowById(WC_STATUS_BAR, 0));
+ InvalidateWindowClassesData(WC_BUILD_STATION, 0);
ResetSignalVariant();
return _cur_year;
}