From faa24df096085fc6ff834038a0268374d725a9dc Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Wed, 20 May 2015 12:51:16 -0400 Subject: [PATCH] xrogue: add an exit prompt. This gives the player a chance to see the high score list when playing via dgamelaunch. --- xrogue/rip.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xrogue/rip.c b/xrogue/rip.c index f726ded..cede11c 100644 --- a/xrogue/rip.c +++ b/xrogue/rip.c @@ -554,6 +554,12 @@ short monst; else printf("\n"); } } + if (flags != SCOREIT) + { + printf("\n[Press return to exit]"); + fflush(stdout); + fgets(prbuf,80,stdin); + } /* if (prflags == EDITSCORE) endwin();*/ /* End editing windowing */ } fseek(outf, 0L, SEEK_SET);