Update source/joker_effects.c
Co-authored-by: MeirGavish <meir.gavish@gmail.com>
This commit is contained in:
@@ -571,13 +571,10 @@ static JokerEffect shoot_the_moon_joker_effect(Joker *joker, Card *scored_card)
|
||||
int hand_size = hand_get_size();
|
||||
for (int i = 0; i < hand_size; i++ )
|
||||
{
|
||||
switch (hand[i]->card->rank) {
|
||||
case QUEEN:
|
||||
|
||||
effect.mult += 13;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (hand[i]->card->rank == QUEEN)
|
||||
{
|
||||
effect.mult += 13;
|
||||
}
|
||||
}
|
||||
|
||||
return effect;
|
||||
|
||||
Reference in New Issue
Block a user