diff options
author | Shauren <shauren.trinity@gmail.com> | 2018-05-04 15:36:14 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2018-05-04 15:36:14 +0200 |
commit | d9a2177e9cc1115b0d830bd0a76ac0eec9878e05 (patch) | |
tree | 74843ccc79056021aa7511b3ba5c34f73bc563ba | |
parent | fd33b1cd02a1c69fc78f47f079eadc43c331d054 (diff) |
Core/Movement: Removed unneccessary z position adjustment
Closes #21872
-rw-r--r-- | src/server/game/Movement/PathGenerator.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/game/Movement/PathGenerator.cpp b/src/server/game/Movement/PathGenerator.cpp index 03f383b2fd7..912de049261 100644 --- a/src/server/game/Movement/PathGenerator.cpp +++ b/src/server/game/Movement/PathGenerator.cpp @@ -581,10 +581,7 @@ void PathGenerator::BuildPointPath(const float *startPoint, const float *endPoin void PathGenerator::NormalizePath() { for (uint32 i = 0; i < _pathPoints.size(); ++i) - { - _pathPoints[i].z += _sourceUnit->GetCollisionHeight(); _sourceUnit->UpdateAllowedPositionZ(_pathPoints[i].x, _pathPoints[i].y, _pathPoints[i].z); - } } void PathGenerator::BuildShortcut() |