From a7f1d5e6a4c8010db6fd251750a156cc2a34f904 Mon Sep 17 00:00:00 2001 From: axelrodR Date: Wed, 23 Apr 2014 14:52:54 +0300 Subject: [PATCH] spelling mistakes --- Detour/Include/DetourNode.h | 2 +- DetourCrowd/Source/DetourCrowd.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Detour/Include/DetourNode.h b/Detour/Include/DetourNode.h index 9094ff2..17abf67 100644 --- a/Detour/Include/DetourNode.h +++ b/Detour/Include/DetourNode.h @@ -25,7 +25,7 @@ enum dtNodeFlags { DT_NODE_OPEN = 0x01, DT_NODE_CLOSED = 0x02, - DT_NODE_PARENT_DETACHED = 0x04, // parent of the node is not connected/adjacent. Found using raycast. + DT_NODE_PARENT_DETACHED = 0x04, // parent of the node is nmnot connected/adjacent. Found using raycast. }; typedef unsigned short dtNodeIndex; diff --git a/DetourCrowd/Source/DetourCrowd.cpp b/DetourCrowd/Source/DetourCrowd.cpp index cf7a027..6d15022 100644 --- a/DetourCrowd/Source/DetourCrowd.cpp +++ b/DetourCrowd/Source/DetourCrowd.cpp @@ -689,7 +689,7 @@ void dtCrowd::updateMoveRequest(const float /*dt*/) dtPolyRef reqPath[MAX_RES]; // The path to the request location int reqPathCount = 0; - // Quick seach towards the goal. + // Quick search towards the goal. static const int MAX_ITER = 20; m_navquery->initSlicedFindPath(path[0], ag->targetRef, ag->npos, ag->targetPos, &m_filter); m_navquery->updateSlicedFindPath(MAX_ITER, 0);