Lua doors api

This commit is contained in:
KimLS
2013-06-03 00:08:41 -07:00
parent ff091e940c
commit bc82bff4b4
16 changed files with 207 additions and 72 deletions
+1 -6
View File
@@ -41,12 +41,7 @@ public:
virtual ~Lua_EntityList() { }
operator EntityList*() {
void *d = GetLuaPtrData();
if(d) {
return reinterpret_cast<EntityList*>(d);
}
return nullptr;
return reinterpret_cast<EntityList*>(GetLuaPtrData());
}
Lua_Mob GetMobID(int id);