summaryrefslogtreecommitdiff
path: root/src/date.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-12-08 19:59:21 +0000
committerfrosch <frosch@openttd.org>2009-12-08 19:59:21 +0000
commit9dd74395c881c0710d6caf50dedb6cb41590b64e (patch)
tree590d8f49fbb8d4c917e3a8835fdf7e544c1ad837 /src/date.cpp
parent85f8765618985bd86703669f9b449c91364593fd (diff)
downloadopenttd-9dd74395c881c0710d6caf50dedb6cb41590b64e.tar.xz
(svn r18433) -Codechange: Show different texts in town GUI when the town does not need food the whole year to grow.
Diffstat (limited to 'src/date.cpp')
-rw-r--r--src/date.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/date.cpp b/src/date.cpp
index 16f77be1b..9122b21c8 100644
--- a/src/date.cpp
+++ b/src/date.cpp
@@ -255,6 +255,9 @@ static void OnNewDay()
SetWindowWidgetDirty(WC_STATUS_BAR, 0, 0);
EnginesDailyLoop();
+
+ /* Refresh after possible snowline change */
+ SetWindowClassesDirty(WC_TOWN_VIEW);
}
/**