Fixed copy/paste bug

This commit is contained in:
Kromster80 2014-11-28 18:40:53 +03:00
parent c2bae484a0
commit dfed678d3d

View File

@ -1159,7 +1159,7 @@ void NavMeshTesterTool::handleRender()
unsigned int col = 0;
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;