diff options
author | yexo <yexo@openttd.org> | 2009-02-14 20:03:06 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-14 20:03:06 +0000 |
commit | 8e75f5244c0029afa3fe48c90ccbd4d64c9593af (patch) | |
tree | d02c8c1864f2e3ddd413d805229eafd85198a67a /src/ai/api/ai_event.hpp | |
parent | 0dcf301d6d42211e3364ca86fc28b820c589cc77 (diff) | |
download | openttd-8e75f5244c0029afa3fe48c90ccbd4d64c9593af.tar.xz |
(svn r15481) -Fix [NoAI]: Make sure AIs can't call functions they shouldn't call.
Diffstat (limited to 'src/ai/api/ai_event.hpp')
-rw-r--r-- | src/ai/api/ai_event.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/api/ai_event.hpp b/src/ai/api/ai_event.hpp index 2c053d33d..077e2a2e6 100644 --- a/src/ai/api/ai_event.hpp +++ b/src/ai/api/ai_event.hpp @@ -87,6 +87,7 @@ public: */ static AIEvent *GetNextEvent(); +#ifndef EXPORT_SKIP /** * Insert an event to the queue for the company. * @param event The event to insert. @@ -98,6 +99,7 @@ public: * @note DO NOT CALL YOURSELF; leave it to the internal AI programming. */ static void FreeEventPointer(); +#endif /* EXPORT_SKIP */ private: /** |