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

Function sel_set_lit

src/sp_lev.c:5534–5540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5532}
5533
5534staticfn void
5535sel_set_lit(coordxy x, coordxy y, genericptr_t arg)
5536{
5537 int lit = *(int *) arg;
5538
5539 levl[x][y].lit = (IS_LAVA(levl[x][y].typ) || lit) ? 1 : 0;
5540}
5541
5542/* Add to the room any doors within/bordering it */
5543staticfn void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected