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:
+5
-5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user