(svn r21987) -Fix: Make news items, engine previews and AI preview events deal with no longer existing Engine items after resetting the pool.

This commit is contained in:
frosch
2011-02-05 20:41:13 +00:00
parent dd1c718ac7
commit c003e1a358
6 changed files with 41 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ extern bool _news_ticker_sound;
extern NewsTypeData _news_type_data[];
void DeleteInvalidEngineNews();
void DeleteVehicleNews(VehicleID vid, StringID news);
void DeleteStationNews(StationID sid);
void DeleteIndustryNews(IndustryID iid);