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

Function kill_egg

src/timeout.c:1008–1013  ·  view source on GitHub ↗

prevent an egg from ever hatching */

Source from the content-addressed store, hash-verified

1006
1007/* prevent an egg from ever hatching */
1008void
1009kill_egg(struct obj *egg)
1010{
1011 /* stop previous timer, if any */
1012 (void) stop_timer(HATCH_EGG, obj_to_any(egg));
1013}
1014
1015/* timer callback routine: hatch the given egg */
1016void

Callers 3

kill_eggsFunction · 0.85
poly_objFunction · 0.85
use_royal_jellyFunction · 0.85

Calls 2

stop_timerFunction · 0.85
obj_to_anyFunction · 0.85

Tested by

no test coverage detected