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

View File

@@ -2637,7 +2637,8 @@ register struct monst *mtmp;
a_your[trap->madeby_u]);
}
if (!in_sight && !Deaf)
pline("Kaablamm! You hear an explosion in the distance!");
pline("Kaablamm! %s an explosion in the distance!",
"You hear"); /* Deaf-aware */
blow_up_landmine(trap);
/* explosion might have destroyed a drawbridge; don't
dish out more damage if monster is already dead */