mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
- Mill cards in correct order
- Roll up shuffles into bottom message - Remove unused variable
This commit is contained in:
parent
d49ec0088f
commit
c32f2190bd
3 changed files with 28 additions and 21 deletions
|
|
@ -1039,7 +1039,7 @@ void Player::actMoveTopCardsToGrave()
|
|||
cmd.set_x(0);
|
||||
cmd.set_y(0);
|
||||
|
||||
for (int i = 0; i < number; ++i) {
|
||||
for (int i = number - 1; i >= 0; --i) {
|
||||
cmd.mutable_cards_to_move()->add_card()->set_card_id(i);
|
||||
}
|
||||
|
||||
|
|
@ -1065,7 +1065,7 @@ void Player::actMoveTopCardsToExile()
|
|||
cmd.set_x(0);
|
||||
cmd.set_y(0);
|
||||
|
||||
for (int i = 0; i < number; ++i) {
|
||||
for (int i = number - 1; i >= 0; --i) {
|
||||
cmd.mutable_cards_to_move()->add_card()->set_card_id(i);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue