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

* fix for target change bug on client

* Update spell_effects.cpp
This commit is contained in:
KayenEQ
2021-10-30 17:48:55 -04:00
committed by GitHub
parent 4389f84ea5
commit df3161455a
3 changed files with 26 additions and 21 deletions
+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);
}
}
}