Fixed stack top bugs in joker_effects.c - e.g. Blackboard activated if just the first card in hand was not spades/clubs

This commit is contained in:
MeirGavish
2025-08-08 00:01:36 +03:00
parent 4492176df2
commit 5e6d28c663
3 changed files with 15 additions and 11 deletions
+5 -5
View File
@@ -148,6 +148,11 @@ int get_hand_top(void) {
return hand_top;
}
int hand_get_size(void)
{
return hand_top + 1;
}
CardObject **get_played_array(void) {
return played;
}
@@ -853,11 +858,6 @@ void hand_change_sort()
sort_cards();
}
int hand_get_size()
{
return hand_top + 1;
}
int hand_get_max_size()
{
return hand_size;