(svn r14307) -Fix: when deleting a station, remove news items regarding it
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user