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

Function find_level

src/dungeon.c:297–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297RESTORE_WARNING_UNREACHABLE_CODE
298
299s_level *
300find_level(const char *s)
301{
302 s_level *curr;
303 for (curr = svs.sp_levchn; curr; curr = curr->next)
304 if (!strcmpi(s, curr->proto))
305 break;
306 return curr;
307}
308
309/* Find the branch that links the named dungeon. */
310staticfn int

Callers 6

maybe_do_tutorialFunction · 0.85
fixup_level_locationsFunction · 0.85
lev_by_nameFunction · 0.85
unreachable_levelFunction · 0.85
makelevelFunction · 0.85
fixup_specialFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected