summaryrefslogtreecommitdiff
path: root/src/news_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-07-18 16:26:51 +0000
committerrubidium <rubidium@openttd.org>2008-07-18 16:26:51 +0000
commit56ad26a3aa231ede631d5bf8cf7e5132b2ff25a1 (patch)
tree71817bf7af4429f1e29b23c2bb0148ca8b0bea3c /src/news_func.h
parent9d035df146a1e74cb0a6233da8da648e96612847 (diff)
downloadopenttd-56ad26a3aa231ede631d5bf8cf7e5132b2ff25a1.tar.xz
(svn r13730) -Fix: make a copy of the names for news messages about the deletion of companies as the removal of a company could lead to wrong names in the news messages.
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 cc406557e..8ec0e0116 100644
--- a/src/news_func.h
+++ b/src/news_func.h
@@ -8,7 +8,7 @@
#include "news_type.h"
#include "vehicle_type.h"
-void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b);
+void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b, void *free_data = NULL);
void NewsLoop();
void InitNewsItemStructs();