Merge pull request #58 from Kromster80/CopyPasteFix

Copy paste fix
This commit is contained in:
Mikko Mononen 2014-12-13 13:48:43 +02:00
commit 56b6e1173d

View File

@ -1159,7 +1159,7 @@ void NavMeshTesterTool::handleRender()
unsigned int col;
if (m_straightPathFlags[i] & DT_STRAIGHTPATH_START)
col = startCol;
else if (m_straightPathFlags[i] & DT_STRAIGHTPATH_START)
else if (m_straightPathFlags[i] & DT_STRAIGHTPATH_END)
col = endCol;
else if (m_straightPathFlags[i] & DT_STRAIGHTPATH_OFFMESH_CONNECTION)
col = offMeshCol;