Don't shadow variable
This commit is contained in:
parent
30e935b7ce
commit
3facc3333c
|
@ -327,8 +327,8 @@ bool GameState::autoMoveColumnCard(int columnId, int cardIndex)
|
|||
qDebug() << "Attempting auto-move of column " << columnId << " card range " << cardIndex << " to " << columnStack.size() - 1;
|
||||
QList<PlayingCard*> selectedCards;
|
||||
for (int i = cardIndex; i < columnStack.size(); ++i) {
|
||||
ColumnSlot* col = columnStack[i];
|
||||
selectedCards.append(col->card());
|
||||
ColumnSlot* curCol = columnStack[i];
|
||||
selectedCards.append(curCol->card());
|
||||
}
|
||||
|
||||
if (!tryAutoMoveMultipleCards(selectedCards, cardIndex)) {
|
||||
|
|
Loading…
Reference in a new issue