From f607a775a80dbee64f666a14fdafbf148f4303b8 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 20 Jan 2023 20:51:31 -0500 Subject: [PATCH] fix misplaced brace; also relocate Soundeffect() The brace added to dokick was misplaced - it should have included the You_hear() as well. The puts the code back the way it was, and relocates the Soundeffect(). The Soundeffect should play whether the hero is Blind or not, and the Soundeffect() macro already includes a Deaf guard. --- src/dokick.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/dokick.c b/src/dokick.c index 0a55e0d7d..2b08f7525 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -1320,11 +1320,10 @@ dokick(void) return ECMD_TIME; } else if (!(gm.maploc->looted & S_LPUDDING) && !rn2(3) && !(gm.mvitals[PM_BLACK_PUDDING].mvflags & G_GONE)) { + Soundeffect(se_gushing_sound, 100); if (Blind) { - if (!Deaf) { - Soundeffect(se_gushing_sound, 100); - } - You_hear("a gushing sound."); + if (!Deaf) + You_hear("a gushing sound."); } else { pline("A %s ooze gushes up from the drain!", hcolor(NH_BLACK));