resolve 5 analyzer warnings if no SND_LIB_* define

This commit is contained in:
nhmall
2023-01-20 17:32:55 -05:00
parent 5e920a7f94
commit 28cd188259
5 changed files with 12 additions and 7 deletions

View File

@@ -1321,8 +1321,9 @@ dokick(void)
} else if (!(gm.maploc->looted & S_LPUDDING) && !rn2(3)
&& !(gm.mvitals[PM_BLACK_PUDDING].mvflags & G_GONE)) {
if (Blind) {
if (!Deaf)
if (!Deaf) {
Soundeffect(se_gushing_sound, 100);
}
You_hear("a gushing sound.");
} else {
pline("A %s ooze gushes up from the drain!",