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
commit4b818368b10d8e741e577069e34b098e18224fb2 (patch)
tree7e6bb8e8fdae810343885f8757e70a0a1dc8d9d7
parent1845b5633d40506b95d33575ab2292c0d2bdf0f8 (diff)
downloadopenttd-4b818368b10d8e741e577069e34b098e18224fb2.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();