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

Function restpriest

src/priest.c:932–939  ·  view source on GitHub ↗

munge priest-specific structure when restoring -dlc */

Source from the content-addressed store, hash-verified

930
931/* munge priest-specific structure when restoring -dlc */
932void
933restpriest(struct monst *mtmp, boolean ghostly)
934{
935 if (u.uz.dlevel) {
936 if (ghostly)
937 assign_level(&(EPRI(mtmp)->shrlevel), &u.uz);
938 }
939}
940
941#undef ALGN_SINNED
942#undef ALGN_DEVOUT

Callers 1

restmonchnFunction · 0.85

Calls 1

assign_levelFunction · 0.85

Tested by

no test coverage detected