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
1 changed files with 2 additions and 1 deletions

View File

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