hangup revisited (trunk only)

More SAFER_HANGUP tweaking.  Delay its kicking in until main command
loop has been reached, and shut if off again once program is terminating.
This commit is contained in:
nethack.rankin
2007-03-01 03:33:12 +00:00
parent a6b8d773de
commit c5450cbe5e
5 changed files with 8 additions and 7 deletions

View File

@@ -76,6 +76,7 @@ boolean resuming;
youmonst.movement = NORMAL_SPEED; /* give the hero some movement points */
context.move = 0;
program_state.in_moveloop = 1;
for(;;) {
#ifdef SAFERHANGUP
if (program_state.done_hup) end_of_input();