From 891bec7e23a0a077df93b8fd1fe156ef059df8b4 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 18 Jul 2008 16:26:51 +0000 Subject: (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. --- src/news_func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/news_func.h') 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(); -- cgit v1.2.3-54-g00ecf