Misc fixes

This commit is contained in:
hondacrx
2021-03-04 12:00:58 -05:00
parent 2949a2514c
commit 0fdab8635d
8 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ namespace Game
pet.ClearUnitState(UnitState.Follow);
// This is true if pet has no target or has target but targets differs.
if (pet.GetVictim() != TargetUnit || (pet.GetVictim() == TargetUnit && !pet.GetCharmInfo().IsCommandAttack()))
if (pet.GetVictim() != TargetUnit || !pet.GetCharmInfo().IsCommandAttack())
{
if (pet.GetVictim())
pet.AttackStop();