Merge branch 'altarmask-sanctum-bit' of https://github.com/entrez/NetHack into pr748

This commit is contained in:
nhmall
2022-05-09 08:47:02 -04:00
7 changed files with 26 additions and 31 deletions

View File

@@ -3991,10 +3991,7 @@ dfeature_at(int x, int y, char *buf)
cmap = S_sink; /* "sink" */
else if (IS_ALTAR(ltyp)) {
Sprintf(altbuf, "%saltar to %s (%s)",
((lev->altarmask & AM_SHRINE)
&& (Is_astralevel(&u.uz) || Is_sanctum(&u.uz)))
? "high "
: "",
(lev->altarmask & AM_SANCTUM) ? "high " : "",
a_gname(),
align_str(Amask2align(lev->altarmask & ~AM_SHRINE)));
dfeature = altbuf;