Make REDO unconditional.

This commit is contained in:
Sean Hunt
2015-02-27 19:24:28 -05:00
parent d218bedbf7
commit 0001534d04
18 changed files with 7 additions and 95 deletions

View File

@@ -246,11 +246,9 @@ boolean resuming;
if (!next_to_u()) {
check_leash(old_ux, old_uy);
}
#ifdef REDO
/* clear doagain keystrokes */
pushch(0);
savech(0);
#endif
}
}
/* delayed change may not be valid anymore */
@@ -355,12 +353,10 @@ boolean resuming;
#if defined(MICRO) || defined(WIN32)
abort_lev = 0;
if (kbhit()) {
if ((ch = Getchar()) == ABORT)
if ((ch = pgetchar()) == ABORT)
abort_lev++;
# ifdef REDO
else
pushch(ch);
# endif /* REDO */
}
if (!abort_lev && (*occupation)() == 0)
#else
@@ -439,10 +435,8 @@ stop_occupation()
You("stop %s.", occtxt);
occupation = 0;
context.botl = 1; /* in case u.uhs changed */
#ifdef REDO
nomul(0);
pushch(0);
#endif
}
}