mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 09:22:15 -07:00
rename variables
This commit is contained in:
parent
c9d5d5609c
commit
db360857cb
2 changed files with 7 additions and 7 deletions
|
|
@ -1341,19 +1341,19 @@ void Player::actMoveTopCardsUntil()
|
|||
{
|
||||
stopMoveTopCardsUntil();
|
||||
|
||||
DlgMoveTopCardsUntil dlg(game, previousMovingCardsUntilExpr, previousMovingCardsUntilNumberOfHits);
|
||||
DlgMoveTopCardsUntil dlg(game, movingCardsUntilExpr, movingCardsUntilNumberOfHits);
|
||||
if (!dlg.exec()) {
|
||||
return;
|
||||
}
|
||||
|
||||
previousMovingCardsUntilExpr = dlg.getExpr();
|
||||
previousMovingCardsUntilNumberOfHits = dlg.getNumberOfHits();
|
||||
movingCardsUntilExpr = dlg.getExpr();
|
||||
movingCardsUntilNumberOfHits = dlg.getNumberOfHits();
|
||||
|
||||
if (zones.value("deck")->getCards().empty()) {
|
||||
stopMoveTopCardsUntil();
|
||||
} else {
|
||||
movingCardsUntilFilter = FilterString(previousMovingCardsUntilExpr);
|
||||
movingCardsUntilCounter = previousMovingCardsUntilNumberOfHits;
|
||||
movingCardsUntilFilter = FilterString(movingCardsUntilExpr);
|
||||
movingCardsUntilCounter = movingCardsUntilNumberOfHits;
|
||||
movingCardsUntil = true;
|
||||
actMoveTopCardToPlay();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -268,8 +268,8 @@ private:
|
|||
|
||||
bool movingCardsUntil;
|
||||
QTimer *moveTopCardTimer;
|
||||
QString previousMovingCardsUntilExpr = {};
|
||||
int previousMovingCardsUntilNumberOfHits = 1;
|
||||
QString movingCardsUntilExpr = {};
|
||||
int movingCardsUntilNumberOfHits = 1;
|
||||
FilterString movingCardsUntilFilter;
|
||||
int movingCardsUntilCounter = 0;
|
||||
void stopMoveTopCardsUntil();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue