xrogue: add an exit prompt.

This gives the player a chance to see the high score list when playing
via dgamelaunch.
This commit is contained in:
John "Elwin" Edwards 2015-05-20 12:51:16 -04:00
parent e3620a3781
commit faa24df096

View file

@ -554,6 +554,12 @@ short monst;
else printf("\n"); 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 */ /* if (prflags == EDITSCORE) endwin();*/ /* End editing windowing */
} }
fseek(outf, 0L, SEEK_SET); fseek(outf, 0L, SEEK_SET);