Commit 074a4b07 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor issues found by EBN

parent bc31d86c
......@@ -230,9 +230,9 @@ void Ai::calculateNextPositions()
for(i=0;i<2;++i)
aiMines[i]->resize(cfg->maxMines);
for(i=0;i<2;i++)
for(i=0;i<2;++i)
{
for (j=0; j<mines[i]->size(); j++)
for (j=0; j<mines[i]->size(); ++j)
{
(*(aiMines[i]))[j]=mines[i]->value(j)->toAiSprite();
}
......
......@@ -453,7 +453,7 @@ void MyMainView::resizeEvent(QResizeEvent *event)
textSprite->moveBy((int)mx,(int)my);
listsize = powerups.size();
for (current=0; current<listsize; current++)
for (current=0; current<listsize; ++current)
{
powerups[current]->moveBy(mx,my);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment