Merge pull request #11 from saimen/fix-escape-error
Fix putting card stacks into invalid state
This commit is contained in:
commit
08c40b452f
@ -160,7 +160,7 @@ static void handle_card_movement(struct cursor *cursor) {
|
|||||||
erase_cursor(cursor);
|
erase_cursor(cursor);
|
||||||
cursor->y--;
|
cursor->y--;
|
||||||
}
|
}
|
||||||
if (marked_cards_count(*origin) > 0) {
|
if (maneuvre_stack(*origin)) {
|
||||||
erase_stack(*origin);
|
erase_stack(*origin);
|
||||||
unmark_cards(*origin);
|
unmark_cards(*origin);
|
||||||
draw_stack(*origin);
|
draw_stack(*origin);
|
||||||
|
Loading…
Reference in New Issue
Block a user