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

Function restfakecorr

src/vault.c:143–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143staticfn void
144restfakecorr(struct monst *grd)
145{
146 /* it seems you left the corridor - let the guard disappear */
147 if (clear_fcorr(grd, FALSE)) {
148 grd->isgd = 0; /* dmonsfree() should delete this mon */
149 mongone(grd);
150 }
151}
152
153/* move guard--dead to alive--to <0,0> until temporary corridor is removed */
154staticfn void

Callers 2

gd_move_cleanupFunction · 0.85
gd_moveFunction · 0.85

Calls 2

clear_fcorrFunction · 0.85
mongoneFunction · 0.85

Tested by

no test coverage detected