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/ai/api/ai_event_types.hpp | |
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/ai/api/ai_event_types.hpp')
-rw-r--r-- | src/ai/api/ai_event_types.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/api/ai_event_types.hpp b/src/ai/api/ai_event_types.hpp index 7ca675eeb..51bfa6cd9 100644 --- a/src/ai/api/ai_event_types.hpp +++ b/src/ai/api/ai_event_types.hpp @@ -296,6 +296,7 @@ public: private: EngineID engine; + bool IsEngineValid() const; }; /** |