summaryrefslogtreecommitdiff
path: root/src/ai/ai_info.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-11 00:48:15 +0000
committeryexo <yexo@openttd.org>2009-02-11 00:48:15 +0000
commit8d252020672d44b8708128e5bcafb015897e3a15 (patch)
tree191e912509cb195a4b9143a11da495fad92944ee /src/ai/ai_info.hpp
parent1eeb0f6748420003f20449c6f651b2b50d5c108e (diff)
downloadopenttd-8d252020672d44b8708128e5bcafb015897e3a15.tar.xz
(svn r15441) -Cleanup: Use a return value instead of passing a pointer to where the result should be stored.
Diffstat (limited to 'src/ai/ai_info.hpp')
-rw-r--r--src/ai/ai_info.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_info.hpp b/src/ai/ai_info.hpp
index 57317d3f0..b7ca5ad45 100644
--- a/src/ai/ai_info.hpp
+++ b/src/ai/ai_info.hpp
@@ -97,7 +97,7 @@ public:
/**
* Check if a given method exists.
*/
- void CheckMethods(SQInteger *res, const char *name);
+ bool CheckMethod(const char *name);
/**
* Process the creation of a FileInfo object.