summaryrefslogtreecommitdiff
path: root/src/script/squirrel.hpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-11-23 13:37:48 +0000
committertruebrain <truebrain@openttd.org>2011-11-23 13:37:48 +0000
commit54ec3a2a3f6b130251dca48662db8aca605141b8 (patch)
treec7e553fa0e698aa7f113a893aa957df9cb994f60 /src/script/squirrel.hpp
parentf4735ce234544eddcc21ccee4612509a78b8502d (diff)
downloadopenttd-54ec3a2a3f6b130251dca48662db8aca605141b8.tar.xz
(svn r23293) -Codechange: make LoadScript/LoadFile non-static
Diffstat (limited to 'src/script/squirrel.hpp')
-rw-r--r--src/script/squirrel.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp
index fd298bcca..9dd8b3e4f 100644
--- a/src/script/squirrel.hpp
+++ b/src/script/squirrel.hpp
@@ -69,12 +69,12 @@ public:
* @return False if loading failed.
*/
bool LoadScript(const char *script);
- static bool LoadScript(HSQUIRRELVM vm, const char *script, bool in_root = true);
+ bool LoadScript(HSQUIRRELVM vm, const char *script, bool in_root = true);
/**
* Load a file to a given VM.
*/
- static SQRESULT LoadFile(HSQUIRRELVM vm, const char *filename, SQBool printerror);
+ SQRESULT LoadFile(HSQUIRRELVM vm, const char *filename, SQBool printerror);
/**
* Adds a function to the stack. Depending on the current state this means