summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-07-13 15:01:16 +0000
committertruelight <truelight@openttd.org>2007-07-13 15:01:16 +0000
commitfe952911f5e58fe3300b1e40f306413bd5ee1af3 (patch)
tree7e6bb8e8fdae810343885f8757e70a0a1dc8d9d7
parenta84dcf7682e1fcf4a28e0d08f5a98bac968fa79a (diff)
downloadopenttd-fe952911f5e58fe3300b1e40f306413bd5ee1af3.tar.xz
(svn r10547) -Fix: when Cheat-Window is open and a new month happens, the window wasn't redrawn instantly
-rw-r--r--src/date.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/date.cpp b/src/date.cpp
index f8852dbc5..168f127c1 100644
--- a/src/date.cpp
+++ b/src/date.cpp
@@ -273,6 +273,7 @@ void IncreaseDate()
RedrawAutosave();
}
+ InvalidateWindowClasses(WC_CHEATS);
PlayersMonthlyLoop();
EnginesMonthlyLoop();
TownsMonthlyLoop();