diff options
-rw-r--r-- | src/lua-interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua-interface.cpp b/src/lua-interface.cpp index 4dc7129..267a615 100644 --- a/src/lua-interface.cpp +++ b/src/lua-interface.cpp @@ -291,7 +291,7 @@ int sLua_baselua_interface::baselua_interface_proceed_statics(Lua * L, int n, in if (L->isstring(1)) { L->load(&Input(L->tostring(1))); } else { - Handle * t = (Handle *) LuaObject::getme(L, 1); + Handle * t = L->recast<Handle>(1); L->load(t); } } @@ -304,7 +304,7 @@ int sLua_baselua_interface::baselua_interface_proceed_statics(Lua * L, int n, in if (L->isstring(1)) { L->load(&Input(L->tostring(1)), false); } else { - Handle * t = (Handle *) LuaObject::getme(L, 1); + Handle * t = L->recast<Handle>(1); L->load(t, false); } } |