diff --git a/game.c b/game.c index fada3c1..77d05bd 100644 --- a/game.c +++ b/game.c @@ -319,8 +319,8 @@ void run_frame_initializing(Game *g) { add_to_hand(&g->deck, c); } - //shuffle_hand(&g->deck); - order_deck(&g->deck); + shuffle_hand(&g->deck); + // order_deck(&g->deck); kan_points_string(g, g->player.points, g->player.points_string); kan_points_string(g, g->right.points, g->right.points_string); @@ -502,6 +502,8 @@ void run_frame_choosing_target_from_deck(Game *g) { if (g->current_play_target) { capture_card_from_field(g, top_card, g->current_play_target, &g->deck, to_hand); g->state = GAME_STATE_CHECKING_FOR_NEW_DEKIYAKU; + g->current_play_from_hand = NULL; + g->current_play_target = NULL; } } else { // TODO: better AI