summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2011-03-05 09:55:09 +0000
committerplanetmaker <planetmaker@openttd.org>2011-03-05 09:55:09 +0000
commitca61ae0b0ae5eb3828ea155ab8839ed12ec5a484 (patch)
tree8f80f3220762bdb7b1bbee0e20178cbb3bc69ad4 /src
parent5ad2b30b0bedac075e5dba46173dcd47639337ef (diff)
downloadopenttd-ca61ae0b0ae5eb3828ea155ab8839ed12ec5a484.tar.xz
(svn r22193) -Fix: Invalidate the object build window when using the date cheat
Diffstat (limited to 'src')
-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 6959689b2..abb8445be 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -125,6 +125,7 @@ static int32 ClickChangeDateCheat(int32 p1, int32 p2)
EnginesMonthlyLoop();
SetWindowDirty(WC_STATUS_BAR, 0);
InvalidateWindowClassesData(WC_BUILD_STATION, 0);
+ InvalidateWindowClassesData(WC_BUILD_OBJECT, 0);
ResetSignalVariant();
return _cur_year;
}