diff --git a/Detour/Source/DetourNavMesh.cpp b/Detour/Source/DetourNavMesh.cpp index abae7c4..c412b13 100644 --- a/Detour/Source/DetourNavMesh.cpp +++ b/Detour/Source/DetourNavMesh.cpp @@ -209,7 +209,7 @@ bool dtNavMesh::init(unsigned char* data, int dataSize, int flags, int maxNodes) if (!init(¶ms)) return false; - return addTile(data, dataSize, flags); + return addTile(data, dataSize, flags) != 0; } const dtNavMeshParams* dtNavMesh::getParams() const diff --git a/RecastDemo/Bin/Recast.exe b/RecastDemo/Bin/Recast.exe index 245d0e8..812d178 100644 Binary files a/RecastDemo/Bin/Recast.exe and b/RecastDemo/Bin/Recast.exe differ diff --git a/RecastDemo/Build/VC9/Recast.vcproj b/RecastDemo/Build/VC9/Recast.vcproj index 1ff4264..69dca40 100644 --- a/RecastDemo/Build/VC9/Recast.vcproj +++ b/RecastDemo/Build/VC9/Recast.vcproj @@ -203,6 +203,10 @@ RelativePath="..\..\..\Recast\Source\Recast.cpp" > + + @@ -284,10 +288,6 @@ - - @@ -295,6 +295,10 @@ RelativePath="..\..\Include\ChunkyTriMesh.h" > + + @@ -303,6 +307,10 @@ RelativePath="..\..\Include\imguiRenderGL.h" > + + @@ -319,6 +327,10 @@ RelativePath="..\..\Include\Sample.h" > + + @@ -335,6 +347,10 @@ RelativePath="..\..\Contrib\stb_truetype.h" > + + + + @@ -352,7 +372,7 @@ > + + @@ -387,6 +411,10 @@ RelativePath="..\..\Source\Sample_TileMesh.cpp" > + +