Core/Movement: fixed a typo in chase movement generator that was causing creatures to move backwards all the time when chasing another creature
This commit is contained in:
1 parent
0647e3ca97
commit
dbe365844b
1 file changed
+1
-1
@@ -172,7 +172,7 @@ bool ChaseMovementGenerator::Update(Unit* owner, uint32 diff)
|
||||
}
|
||||
}
|
||||
else if (owner->GetExactDist2d(target) > rangeTolerance + 0.1f) // 0.1f here to avoid edge cases when the owner has stepped back before
|
||||
LaunchMovement(owner, target, chaseRange, mutualChase);
|
||||
LaunchMovement(owner, target, chaseRange, false, mutualChase);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user