Clear screen before game_init().

This commit is contained in:
Murilo Pereira 2011-07-02 20:20:07 -03:00
parent 014b4d6e98
commit 9c4ee71eb6

View File

@ -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;
} }