code maintenance bit to white-list current "You hear" instances

Flag existing occurrences of "You hear" as "Deaf-aware" so
that a grep for that string in the future doesn't need to
trigger further investigation of those.
This commit is contained in:
nhmall
2019-11-04 12:28:25 -05:00
parent efbef0f22c
commit 25edd16945
10 changed files with 14 additions and 9 deletions
+2 -1
View File
@@ -188,7 +188,8 @@ struct monst *bugler; /* monster that played instrument */
if (canseemon(mtmp))
pline("%s is now ready for battle!", Monnam(mtmp));
else if (!Deaf)
Norep("You hear the rattle of battle gear being readied.");
Norep("%s the rattle of battle gear being readied.",
"You hear"); /* Deaf-aware */
} else if ((distm = ((bugler == &youmonst)
? distu(mtmp->mx, mtmp->my)
: dist2(bugler->mx, bugler->my, mtmp->mx,