restrict a recent deaf message change to player actions only

This commit is contained in:
nhmall
2019-11-11 10:59:07 -05:00
parent 593ba7ebb4
commit c2bbbebd8e
2 changed files with 6 additions and 2 deletions

View File

@@ -4443,7 +4443,9 @@ short exploding_wand_typ;
} else if (is_pool(x, y)) {
const char *msgtxt = (!Deaf)
? "You hear hissing gas." /* Deaf-aware */
: "That seemed remarkably uneventful.";
: (type >= 0)
? "That seemed remarkably uneventful."
: (const char *) 0;
if (lev->typ != POOL) { /* MOAT or DRAWBRIDGE_UP */
if (see_it)
@@ -4457,7 +4459,8 @@ short exploding_wand_typ;
if (see_it)
msgtxt = "The water evaporates.";
}
Norep("%s", msgtxt);
if (msgtxt)
Norep("%s", msgtxt);
if (lev->typ == ROOM)
newsym(x, y);
} else if (IS_FOUNTAIN(lev->typ)) {