summaryrefslogtreecommitdiff
path: root/src/date.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/date.cpp')
-rw-r--r--src/date.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/date.cpp b/src/date.cpp
index 18e1ad180..0fd98c42b 100644
--- a/src/date.cpp
+++ b/src/date.cpp
@@ -19,6 +19,7 @@
#include "linkgraph/linkgraph.h"
#include "saveload/saveload.h"
#include "newgrf_profiling.h"
+#include "widgets/statusbar_widget.h"
#include "safeguards.h"
@@ -255,7 +256,7 @@ static void OnNewDay()
DisasterDailyLoop();
IndustryDailyLoop();
- SetWindowWidgetDirty(WC_STATUS_BAR, 0, 0);
+ SetWindowWidgetDirty(WC_STATUS_BAR, 0, WID_S_LEFT);
EnginesDailyLoop();
/* Refresh after possible snowline change */