Commit 4b39e9ae authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Remove a dependency on game

I plan to take out the game from counter_and_game_add_event, so that
we can use the counter in the private API without associating a game.
parent 7e670d46
......@@ -377,7 +377,7 @@ counter_and_game_add_event (TarotCounter * counter, TarotGame * game,
uses the information of all players, which makes its output
not generalizable to real-world ai scenarii. */
assert (event->n == 78);
n = game_n_players (game);
n = counter->n_players;
for (myself = 0; myself < n; myself++)
{
TarotCard cards[78];
......
Markdown is supported
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