MCPcopy Index your code
hub / github.com/NetHack/NetHack / goto_hell

Function goto_hell

src/dungeon.c:1956–1963  ·  view source on GitHub ↗

go directly to hell... */

Source from the content-addressed store, hash-verified

1954
1955/* go directly to hell... */
1956void
1957goto_hell(boolean at_stairs, boolean falling)
1958{
1959 d_level lev;
1960
1961 find_hell(&lev);
1962 goto_level(&lev, at_stairs, falling, FALSE);
1963}
1964
1965/* is 'lev' the only level in its branch? affects level teleporters */
1966boolean

Callers 1

dodownFunction · 0.85

Calls 2

find_hellFunction · 0.85
goto_levelFunction · 0.85

Tested by

no test coverage detected