diff options
author | smatz <smatz@openttd.org> | 2008-09-13 10:19:51 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-09-13 10:19:51 +0000 |
commit | 66be028ad4bb32758115ad10e542104b80d79eed (patch) | |
tree | 13719aee50b7d6e902e7f4499a4cd1c9311ea099 /src/news_func.h | |
parent | fc62d736f700ca344531a96ca02324695af8d761 (diff) | |
download | openttd-66be028ad4bb32758115ad10e542104b80d79eed.tar.xz |
(svn r14307) -Fix: when deleting a station, remove news items regarding it
Diffstat (limited to 'src/news_func.h')
-rw-r--r-- | src/news_func.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |