mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 17:38:26 +00:00
Fixed mercenary memleaks in AI_Start and Unsuspend.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user