mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-03 18:32:18 +00:00
Lua doors api
This commit is contained in:
1 parent
ff091e940c
commit
bc82bff4b4
16 files changed
+207
-72
No files matched your search
+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