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

Function temple_occupied

src/priest.c:141–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141char
142temple_occupied(char *array)
143{
144 char *ptr;
145
146 for (ptr = array; *ptr; ptr++)
147 if (svr.rooms[*ptr - ROOMOFFSET].rtype == TEMPLE)
148 return *ptr;
149 return '\0';
150}
151
152staticfn boolean
153histemple_at(struct monst *priest, coordxy x, coordxy y)

Callers 6

temple_priest_soundFunction · 0.85
intempleFunction · 0.85
in_your_sanctuaryFunction · 0.85
ghod_hitsuFunction · 0.85
angry_priestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected