diff options
author | frosch <frosch@openttd.org> | 2011-02-05 20:41:13 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-02-05 20:41:13 +0000 |
commit | ef3ec0f8c83567f0fce799270ea2e43ab7bb8cb0 (patch) | |
tree | 15ad2600b7a156154ccd87decd68b68315eb1836 /src/news_func.h | |
parent | faa2a26ae15d6a8cf986059ed504b3371e6c3e37 (diff) | |
download | openttd-ef3ec0f8c83567f0fce799270ea2e43ab7bb8cb0.tar.xz |
(svn r21987) -Fix: Make news items, engine previews and AI preview events deal with no longer existing Engine items after resetting the pool.
Diffstat (limited to 'src/news_func.h')
-rw-r--r-- | src/news_func.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/news_func.h b/src/news_func.h index 8e63aba7f..4ee7ae000 100644 --- a/src/news_func.h +++ b/src/news_func.h @@ -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); |