mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 21:52:17 +00:00
More lua work - changed how i get return values off the stack and do calls
This commit is contained in:
1 parent
fa908040ca
commit
70998d25e3
4 files changed
+136
-12
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user