Fixed copy/paste bug
This commit is contained in:
parent
c2bae484a0
commit
dfed678d3d
@ -1159,7 +1159,7 @@ void NavMeshTesterTool::handleRender()
|
|||||||
unsigned int col = 0;
|
unsigned int col = 0;
|
||||||
if (m_straightPathFlags[i] & DT_STRAIGHTPATH_START)
|
if (m_straightPathFlags[i] & DT_STRAIGHTPATH_START)
|
||||||
col = startCol;
|
col = startCol;
|
||||||
else if (m_straightPathFlags[i] & DT_STRAIGHTPATH_START)
|
else if (m_straightPathFlags[i] & DT_STRAIGHTPATH_END)
|
||||||
col = endCol;
|
col = endCol;
|
||||||
else if (m_straightPathFlags[i] & DT_STRAIGHTPATH_OFFMESH_CONNECTION)
|
else if (m_straightPathFlags[i] & DT_STRAIGHTPATH_OFFMESH_CONNECTION)
|
||||||
col = offMeshCol;
|
col = offMeshCol;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user