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

Function on_level

src/dungeon.c:1438–1443  ·  view source on GitHub ↗

are "lev1" and "lev2" actually the same? */

Source from the content-addressed store, hash-verified

1436
1437/* are "lev1" and "lev2" actually the same? */
1438boolean
1439on_level(d_level *lev1, d_level *lev2)
1440{
1441 return (boolean) (lev1->dnum == lev2->dnum
1442 && lev1->dlevel == lev2->dlevel);
1443}
1444
1445#ifndef SFCTOOL
1446/* is this level referenced in the special level chain? */

Callers 15

vga_cliparoundFunction · 0.85
vesa_cliparoundFunction · 0.85
amii_clear_nhwindowFunction · 0.85
amii_cliparoundFunction · 0.85
chat_with_leaderFunction · 0.85
leader_speaksFunction · 0.85
peffect_gain_levelFunction · 0.85
level_teleFunction · 0.85
domagicportalFunction · 0.85
dodownFunction · 0.85
goto_levelFunction · 0.85
deferred_gotoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected