From 66be028ad4bb32758115ad10e542104b80d79eed Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 13 Sep 2008 10:19:51 +0000 Subject: (svn r14307) -Fix: when deleting a station, remove news items regarding it --- src/news_func.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/news_func.h') diff --git a/src/news_func.h b/src/news_func.h index 8ec0e0116..40391fdba 100644 --- a/src/news_func.h +++ b/src/news_func.h @@ -7,6 +7,7 @@ #include "news_type.h" #include "vehicle_type.h" +#include "station_type.h" void AddNewsItem(StringID string, NewsSubtype subtype, uint data_a, uint data_b, void *free_data = NULL); void NewsLoop(); @@ -24,4 +25,7 @@ extern NewsTypeData _news_type_data[NT_END]; */ void DeleteVehicleNews(VehicleID, StringID news); +/** Delete news associated with given station */ +void DeleteStationNews(StationID); + #endif /* NEWS_FUNC_H */ -- cgit v1.2.3-54-g00ecf