Fix some compiler warnings and project sync
This commit is contained in:
parent
c4a1f62cc5
commit
0b7b22df7e
@ -108,11 +108,11 @@ Cell::Visit(const CellPair& standing_cell, TypeContainerVisitor<T, CONTAINER> &v
|
|||||||
m.Visit(*this, visitor);
|
m.Visit(*this, visitor);
|
||||||
|
|
||||||
// loop the cell range
|
// loop the cell range
|
||||||
for (uint32 i = begin_cell.x_coord; i <= end_cell.x_coord; ++i)
|
for (uint32 loopX = begin_cell.x_coord; loopX <= end_cell.x_coord; ++loopX)
|
||||||
{
|
{
|
||||||
for (uint32 j = begin_cell.y_coord; j <= end_cell.y_coord; ++j)
|
for (uint32 loopY = begin_cell.y_coord; loopY <= end_cell.y_coord; ++loopY)
|
||||||
{
|
{
|
||||||
CellPair cell_pair(i, j);
|
CellPair cell_pair(loopX, loopY);
|
||||||
// lets skip standing cell since we already visited it
|
// lets skip standing cell since we already visited it
|
||||||
if (cell_pair != standing_cell)
|
if (cell_pair != standing_cell)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user