rogue3: add the option of logging all games to a text file

This commit is contained in:
John "Elwin" Edwards 2009-11-10 22:38:46 +00:00
parent 437daf6c31
commit bd3b2e4e53
5 changed files with 86 additions and 1 deletions

View file

@ -338,6 +338,7 @@ quit(int p)
move(LINES-1, 0);
draw(stdscr);
endwin();
log(purse, 1, 0);
score(purse, 1, 0);
exit(0);
}