From 076e84ed24fa104433b4408bb07a2caa3e7f54f2 Mon Sep 17 00:00:00 2001 From: Indev Date: Sun, 3 Nov 2024 00:13:41 +0300 Subject: [PATCH] Fix localskins being unable to load if normal skin limit is reached --- src/r_things.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_things.c b/src/r_things.c index 1ba780033..04b6a6c07 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -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