Don't attemt fullbright processing for an unavailable skin.

In the end, it turns out this is the correct fix for the gl seg on
overkill, because build_skin will correctly use the fully setup player skin
if the glskin doesn't have a texture associated with it.
This commit is contained in:
Bill Currie 2012-07-05 10:30:41 +09:00
parent 80bc0e9fb8
commit 428d57b7e1

View file

@ -245,7 +245,8 @@ gl_Skin_SetupSkin (skin_t *skin, int cmap)
} }
return; return;
} }
do_fb_skin (s); if (s->tex)
do_fb_skin (s);
build_skin (skin, cmap); build_skin (skin, cmap);
} }