Adjust S_AddSoundFx to also use I_Error when exhausting Freeslots
This commit is contained in:
1 parent
f5bcfc6379
commit
4b750e0504
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user