MCPcopy Create free account
hub / github.com/NetHack/NetHack / continueRecover

Function continueRecover

outdated/sys/mac/mrecover.c:984–1002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

982}
983
984static void
985continueRecover()
986{
987 restore_savefile();
988
989 /* update the thermometer */
990 if (in.Dialog && !(in.Recover % 4))
991 itemizeThermo(invalItem);
992
993 if (in.Recover <= MAX_RECOVER_COUNT)
994 return;
995
996 endRecover();
997
998 if (saveRezStrings())
999 return;
1000
1001 note(noErr, alidNote, "\pOK: Recovery succeeded");
1002}
1003
1004/* no messages from here (since we might be quitting) */
1005static void

Callers 1

eventLoopFunction · 0.85

Calls 5

itemizeThermoFunction · 0.85
endRecoverFunction · 0.85
saveRezStringsFunction · 0.85
noteFunction · 0.85
restore_savefileFunction · 0.70

Tested by

no test coverage detected