Core/Movement: Removed unneccessary z position adjustment

Port From (https://github.com/TrinityCore/TrinityCore/commit/58043c8d90f00241c80b58324e84c4361825f345)
This commit is contained in:
hondacrx
2021-09-26 14:24:05 -04:00
parent aa5994f457
commit d721ac0992
@@ -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()