[BugFix] Charm Targeting and other issues. (#1655)

* fix for target change bug on client

* Update spell_effects.cpp
This commit is contained in:
KayenEQ authored and GitHub committed 2021-10-30 16:48:55 -05:00
1 parent 4389f84ea5
commit df3161455a
3 files changed
+26 -21

No files matched your search

+3 -1
View File
@@ -1514,7 +1514,9 @@ void EntityList::RemoveFromTargets(Mob *mob, bool RemoveFromXTargets)
mob->CastToClient()->RemoveXTarget(m, false);
}
m->RemoveFromHateList(mob);
if (m->IsAIControlled()) {
m->RemoveFromHateList(mob);
}
}
}