Fixed mercenary memleaks in AI_Start and Unsuspend.

This commit is contained in:
SecretsOTheP
2013-03-20 04:00:08 -04:00
parent 4ab7786828
commit cabf8631d4
16 changed files with 203 additions and 37 deletions
+1
View File
@@ -248,6 +248,7 @@ NPC::NPC(const NPCType* d, Spawn2* in_respawn, float x, float y, float z, float
npc_aggro = d->npc_aggro;
if(!IsMerc()) //memleak fix, this really shouldn't be here
AI_Start();
d_meele_texture1 = d->d_meele_texture1;