More lua work - changed how i get return values off the stack and do calls

This commit is contained in:
KimLS committed 2013-05-11 16:37:03 -07:00
1 parent fa908040ca
commit 70998d25e3
4 files changed
+136 -12

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ class Lua_Mob;
//class Lua_Trap;
//class Lua_Beacon;
#define Lua_Safe_Cast(type, m, other) \
type *m = nullptr; \
m = reinterpret_cast<type*>(other.d_);
class Lua_Entity
{
public: