diff options
-rw-r--r-- | engines/hdb/lua-script.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/lua-script.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index df6d874a89..79d4afb362 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -573,7 +573,7 @@ struct FuncInit { { NULL, NULL } }; -bool LuaScript::initScript(Common::SeekableReadStream *stream, const char *name, int32 length) { +bool LuaScript::initScript(Common::SeekableReadStream *stream, int32 length) { if (_systemInit) { return false; diff --git a/engines/hdb/lua-script.h b/engines/hdb/lua-script.h index c96ba451b8..eee51cd396 100644 --- a/engines/hdb/lua-script.h +++ b/engines/hdb/lua-script.h @@ -38,7 +38,7 @@ public: ~LuaScript(); bool init(); - bool initScript(Common::SeekableReadStream *stream, const char *name, int32 length); + bool initScript(Common::SeekableReadStream *stream, int32 length); bool executeMPC(Common::SeekableReadStream *stream, const char *name, int32 length); bool executeFile(const Common::String &filename); @@ -48,7 +48,7 @@ private: bool registerExtensions(); bool executeChunk(const char *chunk, uint chunkSize, const Common::String &chunkName) const; - void stripComments(char *chunk); + void sanitizeScript(char *chunk); }; |