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

Function obj_sheds_light

src/light.c:762–767  ·  view source on GitHub ↗

Return TRUE if object sheds any light at all. */

Source from the content-addressed store, hash-verified

760
761/* Return TRUE if object sheds any light at all. */
762boolean
763obj_sheds_light(struct obj *obj)
764{
765 /* so far, only burning objects shed light */
766 return obj_is_burning(obj);
767}
768
769/* Return TRUE if sheds light AND will be snuffed by end_burn(). */
770boolean

Callers 5

mpickobjFunction · 0.85
throwitFunction · 0.85
splitobjFunction · 0.85
dealloc_objFunction · 0.85
return_from_mtossFunction · 0.85

Calls 1

obj_is_burningFunction · 0.85

Tested by

no test coverage detected