aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/script
diff options
context:
space:
mode:
authorMax Horn2010-10-25 22:41:25 +0000
committerMax Horn2010-10-25 22:41:25 +0000
commite761f76653b1c12493d1cb047ace29264e537e4b (patch)
tree8612ea65586c39a0fb0e7ac215f571aaa8f7ed59 /engines/sword25/script
parent7ab1e368e880e17d3ea904fe74153219e9531d1d (diff)
downloadscummvm-rg350-e761f76653b1c12493d1cb047ace29264e537e4b.tar.gz
scummvm-rg350-e761f76653b1c12493d1cb047ace29264e537e4b.tar.bz2
scummvm-rg350-e761f76653b1c12493d1cb047ace29264e537e4b.zip
SWORD25: Get rid of most of the 'kernel service/superclass' code
svn-id: r53835
Diffstat (limited to 'engines/sword25/script')
-rw-r--r--engines/sword25/script/luascript.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/sword25/script/luascript.cpp b/engines/sword25/script/luascript.cpp
index 4ed4a158f9..ad5fad1322 100644
--- a/engines/sword25/script/luascript.cpp
+++ b/engines/sword25/script/luascript.cpp
@@ -64,10 +64,6 @@ LuaScriptEngine::~LuaScriptEngine() {
lua_close(_state);
}
-Service *LuaScriptEngine_CreateObject(Kernel *KernelPtr) {
- return new LuaScriptEngine(KernelPtr);
-}
-
namespace {
int panicCB(lua_State *L) {
BS_LOG_ERRORLN("Lua panic. Error message: %s", lua_isnil(L, -1) ? "" : lua_tostring(L, -1));