Fix cclibinfo for rogue

This commit is contained in:
jl777
2019-02-10 07:11:30 -11:00
parent 24c390a0cd
commit 6fdf25af76
10 changed files with 30 additions and 28 deletions

View File

@@ -227,13 +227,18 @@ score(int amount, int flags, char monst)
*/
void
death(char monst)
death(struct rogue_state *rs,char monst)
{
char **dp, *killer;
struct tm *lt;
static time_t date;
//struct tm *localtime(const time_t *);
if ( rs->guiflag == 0 )
{
fprintf(stderr,"death during replay\n");
rs->replaydone = (uint32_t)time(NULL);
return;
}
signal(SIGINT, SIG_IGN);
purse -= purse / 10;
signal(SIGINT, leave);