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

Function vault_tele

src/teleport.c:772–783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770}
771
772staticfn void
773vault_tele(void)
774{
775 struct mkroom *croom = search_special(VAULT);
776 coord c;
777
778 if (croom && somexyspace(croom, &c) && teleok(c.x, c.y, FALSE)) {
779 teleds(c.x, c.y, TELEDS_TELEPORT);
780 return;
781 }
782 tele();
783}
784
785boolean
786teleport_pet(struct monst *mtmp, boolean force_it)

Callers 2

doteleFunction · 0.85
tele_trapFunction · 0.85

Calls 5

search_specialFunction · 0.85
somexyspaceFunction · 0.85
teleokFunction · 0.85
teledsFunction · 0.85
teleFunction · 0.85

Tested by

no test coverage detected