diff rogue4/rip.c @ 24:4967c46f1320

rogue4: make sure score list appears when exiting
author edwarj4
date Tue, 24 Nov 2009 13:02:34 +0000
parents 9535a08ddc39
children ea7372f5d314
line wrap: on
line diff
--- a/rogue4/rip.c	Tue Nov 24 12:53:15 2009 +0000
+++ b/rogue4/rip.c	Tue Nov 24 13:02:34 2009 +0000
@@ -272,6 +272,10 @@
     move(LINES-1, 0);
     refresh();
     score(purse, 0, monst);
+    /* Make sure the output gets through */
+    printf("[Press return to exit]\n");
+    fflush(NULL);
+    getchar();
     exit(0);
 }