Detour/Demo: Fixed compile warnings and errors for VC++.

This commit is contained in:
Mikko Mononen
2009-07-14 17:03:35 +00:00
parent b418aba176
commit caeb02e2fd
7 changed files with 241 additions and 211 deletions

View File

@@ -567,7 +567,6 @@ float dtStatNavMesh::findDistanceToWall(dtStatPolyRef centerRef, const float* ce
{
actualNode->flags &= ~DT_NODE_CLOSED;
actualNode->pidx = newNode.pidx;
actualNode->cost = newNode.cost;
actualNode->total = newNode.total;
if (actualNode->flags & DT_NODE_OPEN)
@@ -663,7 +662,6 @@ int dtStatNavMesh::findPolysAround(dtStatPolyRef centerRef, const float* centerP
{
actualNode->flags &= ~DT_NODE_CLOSED;
actualNode->pidx = newNode.pidx;
actualNode->cost = newNode.cost;
actualNode->total = newNode.total;
if (actualNode->flags & DT_NODE_OPEN)