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

Function a_gname_at

src/pray.c:2513–2520  ·  view source on GitHub ↗

returns the name of an altar's deity */

Source from the content-addressed store, hash-verified

2511
2512/* returns the name of an altar's deity */
2513const char *
2514a_gname_at(coordxy x, coordxy y)
2515{
2516 if (!IS_ALTAR(levl[x][y].typ))
2517 return (char *) 0;
2518
2519 return align_gname(a_align(x, y));
2520}
2521
2522/* returns the name of the hero's deity */
2523const char *

Callers 2

a_gnameFunction · 0.85
ghod_hitsuFunction · 0.85

Calls 1

align_gnameFunction · 0.85

Tested by

no test coverage detected