diff options
author | frosch <frosch@openttd.org> | 2010-06-05 19:02:29 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-06-05 19:02:29 +0000 |
commit | 13d43b8dabc66ae5ca194d8f7cd6e66c2f268825 (patch) | |
tree | a376d445fa857e09c2e4b4fd12fea6517c1161ba /src/date.cpp | |
parent | 1d9a84a934f680094bddc18f730067d757d27444 (diff) | |
download | openttd-13d43b8dabc66ae5ca194d8f7cd6e66c2f268825.tar.xz |
(svn r19937) -Codechange: Move some fios related prototypes to fios.h
Diffstat (limited to 'src/date.cpp')
-rw-r--r-- | src/date.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/date.cpp b/src/date.cpp index fbb8c42bb..9a361d294 100644 --- a/src/date.cpp +++ b/src/date.cpp @@ -15,7 +15,7 @@ #include "network/network_func.h" #include "currency.h" #include "window_func.h" -#include "functions.h" +#include "settings_type.h" #include "date_func.h" #include "vehicle_base.h" #include "debug.h" @@ -220,7 +220,7 @@ static void OnNewMonth() { if (_settings_client.gui.autosave != 0 && (_cur_month % _autosave_months[_settings_client.gui.autosave]) == 0) { _do_autosave = true; - RedrawAutosave(); + SetWindowDirty(WC_STATUS_BAR, 0); } SetWindowClassesDirty(WC_CHEATS); |