Some clean up related to the entity_list changes

This commit is contained in:
Michael Cook (mackal)
2014-02-10 12:16:14 -05:00
parent ce4f4995b5
commit 6a8a6e530b
4 changed files with 5 additions and 20 deletions
-4
View File
@@ -353,7 +353,6 @@ NPC::NPC(const NPCType* d, Spawn2* in_respawn, float x, float y, float z, float
NPC::~NPC()
{
//entity_list.RemoveNPC(GetID());
AI_Stop();
if(proximity != nullptr) {
@@ -361,9 +360,6 @@ NPC::~NPC()
safe_delete(proximity);
}
//clear our spawn limit record if we had one.
//entity_list.LimitRemoveNPC(this);
safe_delete(NPCTypedata_ours);
{