From 45b793966565f6c751d0e05d3077cf3b393f9735 Mon Sep 17 00:00:00 2001 From: Murilo Soares Pereira Date: Sun, 11 Apr 2010 18:22:13 -0300 Subject: [PATCH] Moves to maneuvre stack must consider when it isn't empty, also. --- lib/stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stack.c b/lib/stack.c index 090d80a..2dd5063 100644 --- a/lib/stack.c +++ b/lib/stack.c @@ -79,7 +79,7 @@ struct stack *pop(struct stack **stack) { } bool maneuvre_stack(struct stack *stack) { - return(stack->card->frame->start_y == MANEUVRE_STACKS_START_Y); + return(stack->card->frame->start_y >= MANEUVRE_STACKS_START_Y); } void refresh_card_coordinates(struct stack *origin, struct stack *destination) {