Core/Movement: restore strict aura interrupt behaivior for players

This commit is contained in:
Ovahlord committed 2020-01-22 09:47:39 +01:00
1 parent 11f9219c8e
commit 7f3a2084d1
1 file changed
+4 -2
+4 -2
View File
@@ -524,8 +524,10 @@ void Unit::Update(uint32 p_time)
UpdateSplineMovement(p_time);
i_motionMaster->UpdateMotion(p_time);
// Wait with the cleanup until we have updated our movement generators and position
if (!movespline->Finalized() || isMoving() || isTurning())
// Wait with the aura interrupts until we have updated our movement generators and position6
if (IsPlayer())
InterruptMovementBasedAuras();
else if (!movespline->Finalized())
InterruptMovementBasedAuras();
// Update serverside orientation of channeled spells that are suposed to track the channel target