Lua doors api

This commit is contained in:
KimLS committed 2013-06-03 00:08:41 -07:00
1 parent ff091e940c
commit bc82bff4b4
16 files changed
+207 -72

No files matched your search

+1 -6
View File
@@ -23,12 +23,7 @@ public:
virtual ~Lua_Raid() { }
operator Raid*() {
void *d = GetLuaPtrData();
if(d) {
return reinterpret_cast<Raid*>(d);
}
return nullptr;
return reinterpret_cast<Raid*>(GetLuaPtrData());
}
bool IsRaidMember(const char *name);