Only maneuvre stacks are marked.

This commit is contained in:
Murilo Pereira 2017-01-07 20:37:08 -02:00
parent 08c40b452f
commit 324b9872ab

View File

@ -160,7 +160,7 @@ static void handle_card_movement(struct cursor *cursor) {
erase_cursor(cursor); erase_cursor(cursor);
cursor->y--; cursor->y--;
} }
if (maneuvre_stack(*origin)) { if (marked_cards_count(*origin) > 0 && maneuvre_stack(*origin)) {
erase_stack(*origin); erase_stack(*origin);
unmark_cards(*origin); unmark_cards(*origin);
draw_stack(*origin); draw_stack(*origin);