Fix normal skin being unable to load if localskins limit is reached (thx Alug for pointing out <3)
This commit is contained in:
1 parent
076e84ed24
commit
5a7c481f69
1 file changed
+1
-1
+1
-1
@@ -3305,7 +3305,7 @@ void R_AddSkins(UINT16 wadnum, boolean local)
|
||||
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
|
||||
}
|
||||
if (numlocalskins >= MAXLOCALSKINS)
|
||||
if (local && numlocalskins >= MAXLOCALSKINS)
|
||||
{
|
||||
CONS_Alert(CONS_WARNING, M_GetText("Unable to add localskin, too many localskins are loaded (%d maximum)\n"), MAXLOCALSKINS);
|
||||
continue; // so we know how many skins couldn't be added
|
||||
|
||||
Reference in new issue
Block a user