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

Function update_croom

src/sp_lev.c:6321–6333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6319}
6320
6321RESTORE_WARNING_UNREACHABLE_CODE
6322
6323void
6324update_croom(void)
6325{
6326 if (!gc.coder)
6327 return;
6328
6329 if (gc.coder->n_subroom)
6330 gc.coder->croom = gc.coder->tmproomlist[gc.coder->n_subroom - 1];
6331 else
6332 gc.coder->croom = NULL;
6333}
6334
6335staticfn struct sp_coder *
6336sp_level_coder_init(void)

Callers 5

l_selection_rndcoordFunction · 0.85
lspo_roomFunction · 0.85
spo_endroomFunction · 0.85
lspo_regionFunction · 0.85
sp_level_coder_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected