mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
Update cockatrice/src/game/player/player.cpp
This commit is contained in:
parent
de2f060e57
commit
1f494246e3
1 changed files with 1 additions and 1 deletions
|
|
@ -3186,7 +3186,7 @@ void Player::cardMenuAction()
|
||||||
auto *scmd = new Command_Shuffle;
|
auto *scmd = new Command_Shuffle;
|
||||||
scmd->set_zone_name("deck");
|
scmd->set_zone_name("deck");
|
||||||
scmd->set_start(0);
|
scmd->set_start(0);
|
||||||
scmd->set_end(idList.card_size() - 1);
|
scmd->set_end(idList.card_size() - 1); // inclusive, the indexed card at end will be shuffled
|
||||||
// Server process events backwards, so...
|
// Server process events backwards, so...
|
||||||
commandList.append(scmd);
|
commandList.append(scmd);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue