follow-up bit for consoletty.c

Limit the #ifdef INSURANCE range to only the function call
that requires it.
This commit is contained in:
nhmall
2026-04-28 16:03:04 -04:00
parent bb53b29481
commit ee55f125a0
+2 -2
View File
@@ -3120,17 +3120,17 @@ default_checkinput(
if (dwWait == WAIT_FAILED)
return '\033';
#endif
#ifdef INSURANCE
if (iflags.idlecheckpoint
&& dwWait == WAIT_TIMEOUT && !done_a_checkpoint) {
/* no input for 30 seconds, so let's take
* advantage and do a game checkpoint,
* then resume the wait.
*/
#ifdef INSURANCE
save_currentstate();
#endif /* INSURANCE */
done_a_checkpoint = TRUE;
} else
#endif /* INSURANCE */
{
ReadConsoleInput(hConIn, ir, 1, count);
if (mode == 0) {