Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
214
int
215
night(void)
216
{
217
int hour = getlt()->tm_hour;
218
219
return (hour < 6 || hour > 21);
220
}
221
222
int
223
midnight(void)
Callers
8
really_done
Function · 0.85
allmain.c
File · 0.85
mhitm_ad_curs
Function · 0.85
domonnoise
Function · 0.85
were_change
Function · 0.85
tamedog
Function · 0.85
summonmu
Function · 0.85
background_enlightenment
Function · 0.85
Calls
1
getlt
Function · 0.85
Tested by
no test coverage detected