From 44677e82ab3035400a0abd8eed92111b0c26f8e3 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 28 Jan 2023 09:09:39 -0500 Subject: [PATCH] warning fix if no added soundlib compiled in --- src/mthrowu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mthrowu.c b/src/mthrowu.c index 991635b6f..bae1ac30e 100644 --- a/src/mthrowu.c +++ b/src/mthrowu.c @@ -1235,11 +1235,13 @@ hit_bars( } } else { if (!Deaf) { +#ifdef SND_LIB_INTEGRATED static enum sound_effect_entries se[] = { se_zero_invalid, se_bars_whang, se_bars_whap, se_bars_flapp, se_bars_clink, se_bars_clonk }; +#endif static const char *const barsounds[] = { "", "Whang", "Whap", "Flapp", "Clink", "Clonk" };