More hatelist fixes. Trying to nail the crash :S

This commit is contained in:
SecretsOTheP
2014-04-22 13:24:07 -04:00
parent dffee38dc6
commit dd1f5f6a11
6 changed files with 9 additions and 11 deletions
+2 -1
View File
@@ -426,7 +426,8 @@ Client::~Client() {
//let the stream factory know were done with this stream
eqs->Close();
eqs->ReleaseFromUse();
//Moved this from ~Mob, because it could cause a crash in some cases where a hate list was still used and that mob was the only one on the hate list.
entity_list.RemoveFromTargets(GetID(), true);
UninitializeBuffSlots();
}