mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 17:46:36 +00:00
Lua doors api
This commit is contained in:
+1
-6
@@ -25,12 +25,7 @@ public:
|
||||
virtual ~Lua_Mob() { }
|
||||
|
||||
operator Mob*() {
|
||||
void *d = GetLuaPtrData();
|
||||
if(d) {
|
||||
return reinterpret_cast<Mob*>(d);
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
return reinterpret_cast<Mob*>(GetLuaPtrData());
|
||||
}
|
||||
|
||||
const char *GetName();
|
||||
|
||||
Reference in New Issue
Block a user