From ef2a18bae5db713b48e49cc59558b84b2e857532 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 12 Mar 2013 22:58:34 +0000 Subject: [PATCH] ------------------------------------------------------------------------ r4208 | acceptthis | 2013-02-17 05:43:04 +0000 (Sun, 17 Feb 2013) | 2 lines try to load the replacement skin even if we already tried to load it. sounds stupid, but the first check checks only for upper/lower, while the second check checks only for base. so even if the first check fails, they might still have a tga, just one that has no colourmapping suppor, so we need the fallback even if we tried it already. ------------------------------------------------------------------------ git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4206 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/skin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/skin.c b/engine/client/skin.c index dc479cb1f..23bc0e01f 100644 --- a/engine/client/skin.c +++ b/engine/client/skin.c @@ -299,7 +299,7 @@ qbyte *Skin_Cache8 (skin_t *skin) //use 24bit skins even if gl_load24bit is failed if (strcmp(skin->name, baseskin.string)) { - if (!gl_load24bit.value) +// if (!gl_load24bit.value) { TEXASSIGN(skin->textures.base, R_LoadHiResTexture(skin->name, skinpath, IF_NOALPHA)); if (TEXVALID(skin->textures.base))