my_exit(0);

This commit is contained in:
jl777
2019-02-02 07:50:17 -11:00
parent f46e63403e
commit a30ff35a24

View File

@@ -410,9 +410,9 @@ playit(struct rogue_state *rs)
if ( flushkeystrokes(rs) == 0 ) if ( flushkeystrokes(rs) == 0 )
rs->needflush = 0; rs->needflush = 0;
} }
if ( rs->didquit != 0 )
my_exit(0);
} }
if ( rs->didquit != 0 )
my_exit(0);
} }
endit(0); endit(0);
} }
@@ -445,7 +445,9 @@ quit(int sig)
move(LINES - 1, 0); move(LINES - 1, 0);
refresh(); refresh();
score(purse, 1, 0); score(purse, 1, 0);
rs->didquit = (uint32_t)time(NULL); flushkeystrokes(rs);
//rs->didquit = (uint32_t)time(NULL);
my_exit(0);
} }
else else
{ {