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

@@ -4210,8 +4210,9 @@ flip_through_book(struct obj *obj)
if (obj->otyp == SPE_BOOK_OF_THE_DEAD) {
if (!Deaf) {
if (!Hallucination)
if (!Hallucination) {
Soundeffect(se_rustling_paper, 50);
}
You_hear("the pages make an unpleasant %s sound.",
Hallucination ? "chuckling"
: "rustling");