aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2019-08-18 11:15:54 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-18 20:58:07 +0100
commit6989141e71cd035e029ad4866530d53a0337872f (patch)
treef6b6d36ad05f5140946a9fd5a479cf71ec553ea1 /src
parentbea0e48531bae904079ea5b9f489a436e58abaed (diff)
Core/Misc: Fix linux build
(cherry picked from commit c4cce31a13b2e98538f015ecf289856c73f13037)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Movement/PathGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Movement/PathGenerator.cpp b/src/server/game/Movement/PathGenerator.cpp
index bb39fc34afc..33e6f786c75 100644
--- a/src/server/game/Movement/PathGenerator.cpp
+++ b/src/server/game/Movement/PathGenerator.cpp
@@ -823,7 +823,7 @@ dtStatus PathGenerator::FindSmoothPath(float const* startPos, float const* endPo
npolys = FixupCorridor(polys, npolys, MAX_PATH_LENGTH, visited, nvisited);
if (dtStatusFailed(_navMeshQuery->getPolyHeight(polys[0], result, &result[1])))
- TC_LOG_DEBUG("maps.mmaps", "Cannot find height at position X: %f Y: %f Z: %f for %s", result[2], result[0], result[1], _sourceUnit->GetDebugInfo());
+ TC_LOG_DEBUG("maps.mmaps", "Cannot find height at position X: %f Y: %f Z: %f for %s", result[2], result[0], result[1], _sourceUnit->GetDebugInfo().c_str());
result[1] += 0.5f;
dtVcopy(iterPos, result);