Skip to content

Commit

Permalink
Fix unintended local hiding.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Jan 18, 2016
1 parent 92c5bb8 commit fb0ac21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrAICore/Navigation/vertex_path_inline.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ inline void CVertexPathBuilder::get_node_path(xr_vector<Index> &path, Vertex *be
{
Vertex *t1 = best, *t2 = best->back();
u32 i;
for (u32 i = 1; t2; t1 = t2, t2 = t2->back(), i++);
for (i = 1; t2; t1 = t2, t2 = t2->back(), i++);
path.resize(i);
t1 = best;
path[--i] = best->index();
Expand Down

0 comments on commit fb0ac21

Please sign in to comment.