diff options
author | truebrain <truebrain@openttd.org> | 2011-11-23 13:37:48 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-11-23 13:37:48 +0000 |
commit | 54ec3a2a3f6b130251dca48662db8aca605141b8 (patch) | |
tree | c7e553fa0e698aa7f113a893aa957df9cb994f60 /src/script/squirrel.hpp | |
parent | f4735ce234544eddcc21ccee4612509a78b8502d (diff) | |
download | openttd-54ec3a2a3f6b130251dca48662db8aca605141b8.tar.xz |
(svn r23293) -Codechange: make LoadScript/LoadFile non-static
Diffstat (limited to 'src/script/squirrel.hpp')
-rw-r--r-- | src/script/squirrel.hpp | 4 |
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 |