Clear screen before game_init().
This commit is contained in:
parent
014b4d6e98
commit
9c4ee71eb6
@ -82,6 +82,8 @@ int main(int argc, char *argv[]) {
|
|||||||
draw_greeting();
|
draw_greeting();
|
||||||
refresh();
|
refresh();
|
||||||
if (key == KEY_SPACEBAR) {
|
if (key == KEY_SPACEBAR) {
|
||||||
|
clear();
|
||||||
|
refresh();
|
||||||
game_init(&game, passes_through_deck);
|
game_init(&game, passes_through_deck);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user