xrogue: record the result of each game in a logfile.

This commit is contained in:
John "Elwin" Edwards 2015-05-05 11:24:02 -04:00
parent 283506baf9
commit 9c0cafd74d
3 changed files with 55 additions and 0 deletions

View file

@ -699,6 +699,7 @@ int sig;
clear();
move(lines-1, 0);
draw(stdscr);
writelog(pstats.s_exp + (long) purse, CHICKEN, 0);
score(pstats.s_exp + (long) purse, CHICKEN, 0);
exit_game(EXIT_ENDWIN);
}