mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-02 06:55:33 +00:00
Detour/Demo: Fixed compile warnings and errors for VC++.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user