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
commitec9d94943482cf0b957776685b09dbff2435001b (patch)
tree191e912509cb195a4b9143a11da495fad92944ee /src/ai/ai_info.hpp
parent8ef2024b9673586b8eba9b4f3599bc966348db03 (diff)
downloadopenttd-ec9d94943482cf0b957776685b09dbff2435001b.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.