summaryrefslogtreecommitdiff
path: root/src/news_func.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-12-21 21:14:40 +0000
committerfrosch <frosch@openttd.org>2009-12-21 21:14:40 +0000
commit8d8bd3d45fc899618fbda5e3ff1f1df0d1ad638b (patch)
tree78934c16797448b12c5399bd7c2ceac11190984d /src/news_func.h
parenta87748df8aa8f1a862348ecd24eda9e6b8b36495 (diff)
downloadopenttd-8d8bd3d45fc899618fbda5e3ff1f1df0d1ad638b.tar.xz
(svn r18597) -Fix (r17147)[FS#3395, FS#3396]: ChangeVehicleNews() did not update the news ticker.
Diffstat (limited to 'src/news_func.h')
-rw-r--r--src/news_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_func.h b/src/news_func.h
index ffe41d0a7..a153e8bb5 100644
--- a/src/news_func.h
+++ b/src/news_func.h
@@ -46,7 +46,7 @@ static inline void AddIndustryNewsItem(StringID string, NewsSubtype subtype, Ind
void NewsLoop();
void InitNewsItemStructs();
-extern NewsItem _statusbar_news_item;
+extern const NewsItem *_statusbar_news_item;
extern bool _news_ticker_sound;
extern NewsTypeData _news_type_data[];