diff --git a/card.c b/card.c index f70df15..a344c2b 100644 --- a/card.c +++ b/card.c @@ -77,6 +77,7 @@ void order_deck(Hand *h) { } void remove_from_hand(Hand *h, Card *c) { + c->selected = false; bool card_found = false; for (int i = 0; i < h->count - 1; i++) { if (h->cards[i] == c) card_found = true; diff --git a/game.c b/game.c index 0789114..06525d7 100644 --- a/game.c +++ b/game.c @@ -917,12 +917,12 @@ void draw_frame(Game *g) { DrawText(g->field_multiplier->explanation, 60, 445, 20, BLACK); } - DrawText(g->player.points_string, 40, 650, 20, BLACK); - DrawText(g->player.teyaku_string, 40, 680, 20, BLACK); - DrawText(g->right.points_string, 40, 725, 20, BLACK); - DrawText(g->right.teyaku_string, 40, 755, 20, BLACK); - DrawText(g->left.points_string, 40, 800, 20, BLACK); - DrawText(g->left.teyaku_string, 40, 830, 20, BLACK); + DrawText(g->player.points_string, 1000, 650, 20, BLACK); + DrawText(g->player.teyaku_string, 1000, 680, 20, BLACK); + DrawText(g->right.points_string, 1000, 260, 20, BLACK); + DrawText(g->right.teyaku_string, 1100, 260, 20, BLACK); + DrawText(g->left.points_string, 200, 260, 20, BLACK); + DrawText(g->left.teyaku_string, 300, 260, 20, BLACK); char round_text[40]; if (g->current_round < g->number_of_rounds)