mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 20:07:56 +00:00
More lua work - changed how i get return values off the stack and do calls
This commit is contained in:
@@ -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