diff options
Diffstat (limited to 'src/table_stacks.c')
| -rw-r--r-- | src/table_stacks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table_stacks.c b/src/table_stacks.c index 9a32977..7f76edd 100644 --- a/src/table_stacks.c +++ b/src/table_stacks.c @@ -14,7 +14,7 @@ const uint8_t get_stack_idx_for_card(const table_stacks_t* stack_list, const car for(int i=0; i<NUM_TABLE_STACKS; i++) { - card stackcard = card_stack_upper_card(&stack_list->stacks[i]); + card stackcard = card_stack_top(&stack_list->stacks[i]); uint8_t new_diff = c - stackcard; assert(new_diff != 0); |
