Removed unnecessary assignments

This commit is contained in:
Kromster80 2014-11-27 22:41:28 +03:00
parent 0ccf9fbb6c
commit 96ff08a255

View File

@ -1143,7 +1143,7 @@ void NavMeshTesterTool::handleRender()
dd.begin(DU_DRAW_LINES, 2.0f);
for (int i = 0; i < m_nstraightPath-1; ++i)
{
unsigned int col = 0;
unsigned int col;
if (m_straightPathFlags[i] & DT_STRAIGHTPATH_OFFMESH_CONNECTION)
col = offMeshCol;
else
@ -1156,7 +1156,7 @@ void NavMeshTesterTool::handleRender()
dd.begin(DU_DRAW_POINTS, 6.0f);
for (int i = 0; i < m_nstraightPath; ++i)
{
unsigned int col = 0;
unsigned int col;
if (m_straightPathFlags[i] & DT_STRAIGHTPATH_START)
col = startCol;
else if (m_straightPathFlags[i] & DT_STRAIGHTPATH_START)