From d721ac0992f4dc81884b01493cb96f7e0f7e906f Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sun, 26 Sep 2021 14:24:05 -0400 Subject: [PATCH] Core/Movement: Removed unneccessary z position adjustment Port From (https://github.com/TrinityCore/TrinityCore/commit/58043c8d90f00241c80b58324e84c4361825f345) --- Source/Game/Movement/Generators/PathGenerator.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Game/Movement/Generators/PathGenerator.cs b/Source/Game/Movement/Generators/PathGenerator.cs index 24df1f0dd..ad21b85bf 100644 --- a/Source/Game/Movement/Generators/PathGenerator.cs +++ b/Source/Game/Movement/Generators/PathGenerator.cs @@ -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()