summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_event_types.hpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-02-05 20:41:13 +0000
committerfrosch <frosch@openttd.org>2011-02-05 20:41:13 +0000
commitef3ec0f8c83567f0fce799270ea2e43ab7bb8cb0 (patch)
tree15ad2600b7a156154ccd87decd68b68315eb1836 /src/ai/api/ai_event_types.hpp
parentfaa2a26ae15d6a8cf986059ed504b3371e6c3e37 (diff)
downloadopenttd-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.hpp1
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;
};
/**