mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 06:16:38 +00:00
Lua doors api
This commit is contained in:
+1
-6
@@ -21,12 +21,7 @@ public:
|
||||
virtual ~Lua_Spell() { }
|
||||
|
||||
operator const SPDat_Spell_Struct*() {
|
||||
const void *d = GetLuaPtrData();
|
||||
if(d) {
|
||||
return reinterpret_cast<const SPDat_Spell_Struct*>(d);
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
return reinterpret_cast<const SPDat_Spell_Struct*>(GetLuaPtrData());
|
||||
}
|
||||
|
||||
int GetID();
|
||||
|
||||
Reference in New Issue
Block a user