Vault guard shouldn't be heard from too far away

When you were asked for a name and teleported out of the vault without
any gold on you, the vault guard says "Well, begone" - which could be
heard from anywhere on the level.

Limit that verbalization to 10 tiles away.
This commit is contained in:
Pasi Kallinen
2026-09-20 17:30:07 +03:00
parent f11a4b168b
commit c94fd5225b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1605,6 +1605,7 @@ when starting a new game as a monk, newsym(0,0) was being called (adjabil ->
incorporate a fix to prevent segfault due to rolling boulder trap
wands of digging generate less often lategame
more strict checking of dishonourable attacks
vault guard verbalization shouldn't be heard from too far away
Fixes to 5.0.0-x General Problems Exposed Via git Repository
+1 -1
View File
@@ -1000,7 +1000,7 @@ gd_move(struct monst *grd)
gd_letknow(grd);
return -1;
} else {
if (!Deaf) {
if (!Deaf && mdistu(grd) <= 10*10) {
SetVoice(grd, 0, 80, 0);
verbalize("Well, begone.");
}