Move cursor down 1 row when moving to empty maneuvre stacks.

This commit is contained in:
Murilo Pereira 2011-06-10 00:07:13 -03:00
parent e54c385a78
commit e4f07b4692

View File

@ -122,7 +122,7 @@ static void handle_card_movement(struct cursor *cursor) {
} }
} else { } else {
if (valid_move(*origin, *destination)) { if (valid_move(*origin, *destination)) {
if (maneuvre_stack(*destination) && stack_length(*destination) > 1) { if (maneuvre_stack(*destination)) {
cursor->y++; cursor->y++;
} }
move_card(origin, destination); move_card(origin, destination);