Skip to content

Commit

Permalink
Don't assert winners that can be user defined
Browse files Browse the repository at this point in the history
Signed-off-by: Pauli Nieminen <[email protected]>
  • Loading branch information
suokko committed Feb 12, 2014
1 parent e237382 commit c8691f1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dealer.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,6 @@ static void analyze (deal d, struct handstat *hsbase) {
}
default: {
/* Losers, first correct the number of losers */
assert (hs->hs_counts[idxWinners][s] < 4);
assert (hs->hs_counts[idxWinners][s] >= 0);
hs->hs_loser[s] = 3 - hs->hs_counts[idxWinners][s];
break;
Expand Down

0 comments on commit c8691f1

Please sign in to comment.