diff options
author | Pixel <pixel@nobis-crew.org> | 2009-06-02 11:05:40 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-06-02 11:05:40 -0700 |
commit | 001582d7ce9f2a1e6c095a14edaeb32b241f73ef (patch) | |
tree | 27e8edd6b49e062d628dda5a7eb1ebc6c5f5ec82 /src/lua-interface.cpp | |
parent | 1fbd78b5c9eac45c1e751a14ded649cc1cb1d53a (diff) | |
parent | bad0cd00ee93488f9b9182117f74446441b6fb09 (diff) |
Merge branch 'master' of ssh+git://pixel@git.grumpycoder.net/pub/repo.git/lua-interface
Diffstat (limited to 'src/lua-interface.cpp')
-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 6a7a9fc..4b1e949 100644 --- a/src/lua-interface.cpp +++ b/src/lua-interface.cpp @@ -296,7 +296,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); } } @@ -309,7 +309,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); } } |