diff options
author | rubidium <rubidium@openttd.org> | 2008-04-13 11:15:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-13 11:15:48 +0000 |
commit | d7bae069e124a3b110f065aa143ef413f04f015a (patch) | |
tree | bbdb20745575bc333b1067f0547b82ec537986cb /src | |
parent | 372830b731ea067e1aedb67554362456bbf318c5 (diff) | |
download | openttd-d7bae069e124a3b110f065aa143ef413f04f015a.tar.xz |
(svn r12683) -Fix [FS#1906]: in some cases a news messages would not be shown.
Diffstat (limited to 'src')
-rw-r--r-- | src/news_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index b65a941a4..07c25cfa6 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -998,6 +998,7 @@ void DeleteVehicleNews(VehicleID vid, StringID news) if (_total_news == 0) { assert(_latest_news == _oldest_news); _latest_news = INVALID_NEWS; + _current_news = INVALID_NEWS; } /* Since we only imitate a FIFO removing an arbitrary element does need |