Fix an issue where during a depop cycle and NPC's are engaged by wiping hatelist before issuing NPC depop

This commit is contained in:
Akkadius committed 2015-11-02 21:33:36 -06:00
1 parent 21acd79acf
commit f884d8d738
2 files changed
+5

No files matched your search

+2
View File
@@ -2438,6 +2438,8 @@ void EntityList::Depop(bool StartSpawnTimer)
if (pnpc->IsFindable())
UpdateFindableNPCState(pnpc, true);
pnpc->WipeHateList();
pnpc->Depop(StartSpawnTimer);
}
}