diff options
author | jackpoz <giacomopoz@gmail.com> | 2019-08-18 11:15:54 +0200 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2019-08-18 11:15:54 +0200 |
commit | c4cce31a13b2e98538f015ecf289856c73f13037 (patch) | |
tree | 013405caa3d831c6b43f6320db1e1c8e385570d2 | |
parent | 5a980226497605b18f1855fa39f340c10ee9dd53 (diff) |
Core/Misc: Fix linux build
-rw-r--r-- | src/server/game/Movement/PathGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Movement/PathGenerator.cpp b/src/server/game/Movement/PathGenerator.cpp index a080c2c9336..adf50486136 100644 --- a/src/server/game/Movement/PathGenerator.cpp +++ b/src/server/game/Movement/PathGenerator.cpp @@ -822,7 +822,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); |