@@ -237,13 +237,13 @@ static void OnNewMonth()
if (_settings_client.gui.autosave != 0 && (_cur_month % _autosave_months[_settings_client.gui.autosave]) == 0) {
_do_autosave = true;
RedrawAutosave();
}
InvalidateWindowClasses(WC_CHEATS);
SetWindowClassesDirty(WC_CHEATS);
CompaniesMonthlyLoop();
SubsidyMonthlyLoop();
EnginesMonthlyLoop();
TownsMonthlyLoop();
IndustryMonthlyLoop();
StationMonthlyLoop();
@@ -261,13 +261,13 @@ static void OnNewDay()
NetworkChatMessageDailyLoop();
#endif /* ENABLE_NETWORK */
DisasterDailyLoop();
IndustryDailyLoop();
InvalidateWindowWidget(WC_STATUS_BAR, 0, 0);
SetWindowWidgetDirty(WC_STATUS_BAR, 0, 0);
EnginesDailyLoop();
/**
* Increases the tick counter, increases date and possibly calls
* procedures that have to be called daily, monthly or yearly.