Moves to maneuvre stack must consider when it isn't empty, also.
This commit is contained in:
parent
3100da49d6
commit
45b7939665
@ -79,7 +79,7 @@ struct stack *pop(struct stack **stack) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool maneuvre_stack(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) {
|
void refresh_card_coordinates(struct stack *origin, struct stack *destination) {
|
||||||
|
Loading…
Reference in New Issue
Block a user