diff options
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Ketsji/KX_NavMeshObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_NavMeshObject.cpp b/source/gameengine/Ketsji/KX_NavMeshObject.cpp index a474ee984c5..293fc6eaa08 100644 --- a/source/gameengine/Ketsji/KX_NavMeshObject.cpp +++ b/source/gameengine/Ketsji/KX_NavMeshObject.cpp @@ -282,7 +282,7 @@ bool KX_NavMeshObject::BuildNavMesh() if (GetMeshCount()==0) { - printf("Can't find mesh for navmesh object: %s \n", m_name); + printf("Can't find mesh for navmesh object: %s \n", m_name.ReadPtr()); return false; } @@ -294,7 +294,7 @@ bool KX_NavMeshObject::BuildNavMesh() dmeshes, dvertices, ndvertsuniq, dtris, ndtris, vertsPerPoly ) || vertsPerPoly<3) { - printf("Can't build navigation mesh data for object:%s \n", m_name); + printf("Can't build navigation mesh data for object:%s \n", m_name.ReadPtr()); return false; } |