(svn r14307) -Fix: when deleting a station, remove news items regarding it

This commit is contained in:
smatz
2008-09-13 10:19:51 +00:00
parent fc62d736f7
commit 66be028ad4
8 changed files with 40 additions and 6 deletions

View File

@@ -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 */