Exit from replay

This commit is contained in:
jl777
2019-02-17 21:27:02 -11:00
parent 3549fd1c0f
commit 533c2e564d
2 changed files with 42 additions and 4 deletions

View File

@@ -339,8 +339,9 @@ int32_t rogue_replay(uint64_t seed,int32_t sleeptime)
}
rogue_replay2(0,seed,keystrokes,num,player,sleeptime);
//mvaddstr(LINES - 2, 0, (char *)"replay completed");
mvaddstr(LINES - 2, 0, (char *)"replay completed");
endwin();
my_exit(0);
}
if ( keystrokes != 0 )
free(keystrokes);