@ -3398,7 +3398,7 @@ int getrandomcard(void) {
if (cval == (getcardvalue(cardid)-1)) okay = B_TRUE;
}
if (player2) {
if (player2 && !okay) {
for (i = 0; i < player2->numcards; i++) {
cval = getcardvalue(player2->card[i]);
csuit = getcardsuit(player2->card[i]);