mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +00:00
LibCards+Solitaire: Rename CardStack::move_to_stack()
-> take_all()
`a.move_to_stack(b)` sounded too much like it moves a's cards to b, when it actually moves b's cards to a.
This commit is contained in:
parent
3423b54eb9
commit
83687f85df
3 changed files with 3 additions and 3 deletions
|
@ -424,7 +424,7 @@ void Game::draw_cards()
|
|||
update(stock.bounding_box());
|
||||
} else {
|
||||
auto play_bounding_box = play.bounding_box();
|
||||
play.move_to_stack(waste);
|
||||
play.take_all(waste);
|
||||
|
||||
size_t cards_to_draw = 0;
|
||||
switch (m_mode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue