Core/Movement: Fixed MoveRotate not updating orientation
Port From (https://github.com/TrinityCore/TrinityCore/commit/288966e796bfa4309fdcb08b9392b61befc3faab)
This commit is contained in:
@@ -1841,7 +1841,7 @@ namespace Game.Entities
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (HasUnitState(UnitState.CannotTurn))
|
if (HasUnitState(UnitState.LostControl | UnitState.Focusing))
|
||||||
loc.W = GetOrientation();
|
loc.W = GetOrientation();
|
||||||
|
|
||||||
UpdatePosition(loc.X, loc.Y, loc.Z, loc.W);
|
UpdatePosition(loc.X, loc.Y, loc.Z, loc.W);
|
||||||
|
|||||||
Reference in New Issue
Block a user