Commit 0d8ac693 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Add another assert

parent 962d60a8
......@@ -397,6 +397,10 @@ doscard_infer (TarotDoscardHandle * doscard, const TarotTricksHandle * tricks)
for (i_card = 0; i_card < doscard->n_players; ++i_card)
{
i = trick_get_card (trick, i_card);
if (seen[i] != 0)
{
assert (0);
}
seen[i] = 1;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment