diff src/news_func.h @ 9658:27697e657d2e draft

(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.
author rubidium <rubidium@openttd.org>
date Fri, 18 Jul 2008 16:26:51 +0000 (2008-07-18)
parents 3a17adfbf876
children 57aa34285d05
line wrap: on
line diff
--- 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();