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

Function any_light_source

src/light.c:718–722  ·  view source on GitHub ↗

return true if there exist any light sources */

Source from the content-addressed store, hash-verified

716
717/* return true if there exist any light sources */
718boolean
719any_light_source(void)
720{
721 return (boolean) (gl.light_base != (light_source *) 0);
722}
723
724/*
725 * Snuff an object light source if at (x,y). This currently works

Callers 1

movemonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected