diff rogue3/command.c @ 16:a731f515575e

rogue3: add the option of logging all games to a text file
author edwarj4
date Tue, 10 Nov 2009 22:38:46 +0000
parents 949d558c2162
children 95e2bbb7b6e0
line wrap: on
line diff
--- a/rogue3/command.c	Sat Oct 31 15:18:51 2009 +0000
+++ b/rogue3/command.c	Tue Nov 10 22:38:46 2009 +0000
@@ -338,6 +338,7 @@
 	move(LINES-1, 0);
 	draw(stdscr);
 	endwin();
+        log(purse, 1, 0);
 	score(purse, 1, 0);
 	exit(0);
     }