diff options
author | smatz <smatz@openttd.org> | 2009-01-09 20:42:17 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-01-09 20:42:17 +0000 |
commit | 11822aa8ef242001084b5d59b151b3d60dd39c7d (patch) | |
tree | 1d0452dcb858922d011ce28cb9427233c1ce1e43 /src/statusbar_gui.cpp | |
parent | 7175ff116e97d43b9505d1794cfcbf74553a3f13 (diff) | |
download | openttd-11822aa8ef242001084b5d59b151b3d60dd39c7d.tar.xz |
(svn r14940) -Fix: let the statusbar know the current news are invalid or bad things will happen
Diffstat (limited to 'src/statusbar_gui.cpp')
-rw-r--r-- | src/statusbar_gui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/statusbar_gui.cpp b/src/statusbar_gui.cpp index c125b16cc..5283a01a5 100644 --- a/src/statusbar_gui.cpp +++ b/src/statusbar_gui.cpp @@ -126,6 +126,10 @@ struct StatusBarWindow : Window { case SBI_SAVELOAD_FINISH: this->saving = false; break; case SBI_SHOW_TICKER: this->ticker_scroll = 360; break; case SBI_SHOW_REMINDER: this->reminder_timeout = 91; break; + case SBI_NEWS_DELETED: + this->ticker_scroll = -1280; // reset ticker ... + this->reminder_timeout = 0; // ... and reminder + break; } } |