Fix of a bug with fullbright models..

This commit is contained in:
Zephaniah E. Hull 2000-08-16 12:29:13 +00:00
parent b5e459d224
commit e5581c8373

View file

@ -668,7 +668,8 @@ static void R_DrawAliasModel (entity_t *e)
R_SetupAliasFrame (currententity->frame, paliashdr, false);
// This block is GL fullbright support for objects...
if (clmodel->hasfullbrights && gl_fb_models->value) {
if (clmodel->hasfullbrights && gl_fb_models->value &&
paliashdr->gl_fb_texturenum[currententity->skinnum][anim]) {
/*
glEnable (GL_BLEND);
glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);