mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Fix for potential nullptr when using base lua class constructors in debug mode, also added eq.get_qglobals and removed automatic export of them (will do this for a lot of other automatic exports)
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ class Lua_Corpse : public Lua_Mob
|
||||
{
|
||||
typedef Corpse NativeType;
|
||||
public:
|
||||
Lua_Corpse() { }
|
||||
Lua_Corpse() { SetLuaPtrData(nullptr); }
|
||||
Lua_Corpse(Corpse *d) { SetLuaPtrData(d); }
|
||||
virtual ~Lua_Corpse() { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user