warning fix if no added soundlib compiled in

This commit is contained in:
nhmall
2023-01-28 09:09:39 -05:00
parent f91292b349
commit 44677e82ab

View File

@@ -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"
};