More lua work - more mob implementation

This commit is contained in:
KimLS
2013-05-11 20:34:04 -07:00
parent 60c93595f5
commit 7648f071f1
5 changed files with 1000 additions and 94 deletions
+4
View File
@@ -6,6 +6,10 @@
#include "lua_client.h"
#include "lua_npc.h"
bool Lua_Entity::NullPtr() {
return d_ == nullptr;
}
bool Lua_Entity::IsClient() {
Entity *ent = reinterpret_cast<Entity*>(d_);
return ent->IsClient();