diff srogue/rip.c @ 43:24e6beb9e7aa

Make sure the score list appears in all situations.
author elwin
date Tue, 07 Dec 2010 16:46:07 +0000
parents 5ea4a4d8f961
children bb9f7d01e09c
line wrap: on
line diff
--- a/srogue/rip.c	Mon Dec 06 19:43:32 2010 +0000
+++ b/srogue/rip.c	Tue Dec 07 16:46:07 2010 +0000
@@ -86,6 +86,9 @@
 	refresh();
 	writelog(purse, KILLED, monst);
 	score(purse, KILLED, monst);
+	printf("[Press return to exit]\n");
+	fflush(NULL);
+	getchar();
 	byebye(0);
 }
 
@@ -340,6 +343,9 @@
 	showpack(TRUE, NULL);
 	writelog(purse, WINNER, 0);
 	score(purse, WINNER, 0);
+	printf("[Press return to exit]\n");
+	fflush(NULL);
+	getchar();
 	byebye(0);
 }