Use macro for a location next to hero

This commit is contained in:
Pasi Kallinen
2022-02-12 11:05:07 +02:00
parent 2b4cf04281
commit 91e2d3633e
23 changed files with 53 additions and 50 deletions

View File

@@ -1337,7 +1337,7 @@ tiphat(void)
pline("%s %s%s%s at you...", Monnam(mtmp), reaction[which],
twice ? " and " : "", twice ? reaction[twice] : "");
} else if (distu(x, y) <= 2 && !Deaf && domonnoise(mtmp)) {
} else if (next2u(x, y) && !Deaf && domonnoise(mtmp)) {
if (!vismon)
map_invisible(x, y);
} else if (vismon) {