diff arogue5/command.c @ 65:7aff18a8d508

arogue5: implement logging.
author elwin
date Fri, 10 Aug 2012 21:17:14 +0000
parents 0ed67132cf10
children c49f7927b0fa
line wrap: on
line diff
--- a/arogue5/command.c	Fri Aug 10 05:16:08 2012 +0000
+++ b/arogue5/command.c	Fri Aug 10 21:17:14 2012 +0000
@@ -450,6 +450,7 @@
 	clear();
 	move(LINES-1, 0);
 	draw(stdscr);
+	writelog(pstats.s_exp + (long) purse, CHICKEN, 0);
 	score(pstats.s_exp + (long) purse, CHICKEN, 0);
 	exit(0);
     }