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
commit891bec7e23a0a077df93b8fd1fe156ef059df8b4 (patch)
tree71817bf7af4429f1e29b23c2bb0148ca8b0bea3c /src/news_func.h
parente48d86fad0a384335fa4c49a4f15032bee54b16e (diff)
downloadopenttd-891bec7e23a0a077df93b8fd1fe156ef059df8b4.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();