Core/Movement: Removed unneccessary z position adjustment
Port From (https://github.com/TrinityCore/TrinityCore/commit/58043c8d90f00241c80b58324e84c4361825f345)
This commit is contained in:
@@ -774,10 +774,7 @@ namespace Game.Movement
|
||||
void NormalizePath()
|
||||
{
|
||||
for (uint i = 0; i < _pathPoints.Length; ++i)
|
||||
{
|
||||
_pathPoints[i].Z += _sourceUnit.GetCollisionHeight();
|
||||
_sourceUnit.UpdateAllowedPositionZ(_pathPoints[i].X, _pathPoints[i].Y, ref _pathPoints[i].Z);
|
||||
}
|
||||
}
|
||||
|
||||
void BuildShortcut()
|
||||
|
||||
Reference in New Issue
Block a user