MCPcopy Index your code
hub / github.com/NetHack/NetHack / night

Function night

src/calendar.c:214–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214int
215night(void)
216{
217 int hour = getlt()->tm_hour;
218
219 return (hour < 6 || hour > 21);
220}
221
222int
223midnight(void)

Callers 8

really_doneFunction · 0.85
allmain.cFile · 0.85
mhitm_ad_cursFunction · 0.85
domonnoiseFunction · 0.85
were_changeFunction · 0.85
tamedogFunction · 0.85
summonmuFunction · 0.85
background_enlightenmentFunction · 0.85

Calls 1

getltFunction · 0.85

Tested by

no test coverage detected