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

Function is_digging

src/dig.c:194–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194boolean
195is_digging(void)
196{
197 if (go.occupation == dig) {
198 return TRUE;
199 }
200 return FALSE;
201}
202
203#define BY_YOU (&gy.youmonst)
204#define BY_OBJECT ((struct monst *) 0)

Callers 2

watch_digFunction · 0.85
watch_on_dutyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected