From 4b750e0504dd4b01f917894bcac5216a32306e7f Mon Sep 17 00:00:00 2001 From: Ashnal Date: Sat, 4 Sep 2021 22:47:13 -0400 Subject: [PATCH] Adjust S_AddSoundFx to also use I_Error when exhausting Freeslots --- src/sounds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sounds.c b/src/sounds.c index 9285a2a87..75472bec9 100644 --- a/src/sounds.c +++ b/src/sounds.c @@ -1034,7 +1034,7 @@ sfxenum_t S_AddSoundFx(const char *name, boolean singular, INT32 flags, boolean return i; } } - CONS_Alert(CONS_WARNING, M_GetText("No more free sound slots\n")); + I_Error("Out of Sound Freeslots while allocating \"%s\"\nLoad less addons to fix this.", name); return 0; }