diff options
author | Pixel <pixel@nobis-crew.org> | 2009-05-28 19:58:23 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-05-28 19:58:23 -0700 |
commit | bad0cd00ee93488f9b9182117f74446441b6fb09 (patch) | |
tree | 21ce342b47768ee9531d67f199c8850e0d15809c | |
parent | ea43e96e71a95da9e9fe3583f7b16d1d44b94f6b (diff) |
Uniformizing the usage of luarecast.
-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); } } |