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

Function tricked_fileremoved

src/save.c:336–347  ·  view source on GitHub ↗

potentially called from goto_level(do.c) as well as savestateinlock() */

Source from the content-addressed store, hash-verified

334
335/* potentially called from goto_level(do.c) as well as savestateinlock() */
336boolean
337tricked_fileremoved(NHFILE *nhfp, char *whynot)
338{
339 if (!nhfp) {
340 pline1(whynot);
341 pline("Probably someone removed it.");
342 Strcpy(svk.killer.name, whynot);
343 done(TRICKED);
344 return TRUE;
345 }
346 return FALSE;
347}
348
349#ifdef INSURANCE
350void

Callers 2

goto_levelFunction · 0.85
savestateinlockFunction · 0.85

Calls 2

doneFunction · 0.85
plineFunction · 0.70

Tested by

no test coverage detected