Fixed: Clang warning

This commit is contained in:
kervala 2015-12-15 15:08:54 +01:00
parent dc2c80d25c
commit a9af6c7830

View file

@ -1346,12 +1346,14 @@ public:
CComputeCell *cell = _WorldMap.getComputeCell(scanline); CComputeCell *cell = _WorldMap.getComputeCell(scanline);
{ {
uint i; for (uint i = 0; i < 16; ++i)
for (i=0; i<16*16; ++i)
{ {
toposGridList[0][i].topos[0] = for (uint j = 0; j < 16; ++j)
toposGridList[0][i].topos[1] = {
toposGridList[0][i].topos[2] = -1; toposGridList[i][j].topos[0] =
toposGridList[i][j].topos[1] =
toposGridList[i][j].topos[2] = -1;
}
} }
} }