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

Function assign_level

src/dungeon.c:1977–1982  ·  view source on GitHub ↗

equivalent to dest = source */

Source from the content-addressed store, hash-verified

1975
1976/* equivalent to dest = source */
1977void
1978assign_level(d_level *dest, d_level *src)
1979{
1980 dest->dnum = src->dnum;
1981 dest->dlevel = src->dlevel;
1982}
1983
1984/* dest = src + rn1(range) */
1985void

Callers 15

no_bones_levelFunction · 0.85
maybe_do_tutorialFunction · 0.85
peffect_gain_levelFunction · 0.85
level_teleFunction · 0.85
mlevel_tele_trapFunction · 0.85
dodownFunction · 0.85
goto_levelFunction · 0.85
schedule_gotoFunction · 0.85
deferred_gotoFunction · 0.85
restgamestateFunction · 0.85
getlevFunction · 0.85
still_chewingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected