rogue4: make sure score list appears when exiting

This commit is contained in:
John "Elwin" Edwards 2009-11-24 13:02:34 +00:00
parent 3f546ef2eb
commit cfa162874e
2 changed files with 5 additions and 0 deletions

View file

@ -209,6 +209,7 @@ command()
clrtoeol();
refresh();
endwin();
printf("See you soon, %s!\n", whoami);
exit(0);
}
when '.' : ; /* Rest command */

View file

@ -272,6 +272,10 @@ register char monst;
move(LINES-1, 0);
refresh();
score(purse, 0, monst);
/* Make sure the output gets through */
printf("[Press return to exit]\n");
fflush(NULL);
getchar();
exit(0);
}