diff --git a/src/gamestate.cpp b/src/gamestate.cpp index ad549dd..a64d39c 100644 --- a/src/gamestate.cpp +++ b/src/gamestate.cpp @@ -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 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)) {