aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/lua-script.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index 23b10110fd..b82b7af8c8 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -186,10 +186,6 @@ void LuaScript::loadSaveFile(Common::InSaveFile *in, const char *fName) {
in->read(_globals[i]->string, 32);
}
- // Error handling function to be executed after the function is put on the stack
- lua_rawgeti(_state, LUA_REGISTRYINDEX, _pcallErrorhandlerRegistryIndex);
- lua_insert(_state, -2);
-
lua_getglobal(_state, "LoadState");
lua_pushstring(_state, fName);