Fix localskins being unable to load if normal skin limit is reached

This commit is contained in:
indev committed 2024-11-03 00:13:45 +03:00
1 parent 22164031fe
commit 076e84ed24
1 file changed
+1 -1
+1 -1
View File
@@ -3300,7 +3300,7 @@ void R_AddSkins(UINT16 wadnum, boolean local)
// advance by default
lastlump = lump + 1;
if (numskins >= MAXSKINS)
if (!local && numskins >= MAXSKINS)
{
CONS_Alert(CONS_WARNING, M_GetText("Unable to add skin, too many characters are loaded (%d maximum)\n"), MAXSKINS);
continue; // so we know how many skins couldn't be added