forked from fte/fteqw
1
0
Fork 0

double gammaflash gone, as have some gcc warnings.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@604 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-09 23:41:14 +00:00
parent 7f27b34915
commit 9d91cf3900
1 changed files with 5 additions and 3 deletions

View File

@ -751,11 +751,13 @@ void GLR_DrawViewModel (void)
case mod_halflife:
R_DrawHLModel (currententity);
break;
#else
case mod_halflife: //no gcc warning please
break;
#endif
//we don't support these as view models
case mod_brush:
break;
case mod_dummy:
break;
}
@ -770,7 +772,7 @@ R_PolyBlend
void R_PolyBlend (void)
{
extern qboolean gammaworks;
if (!v_blend[3])
if (!v_blend[3] || gammaworks)
return;
//Con_Printf("R_PolyBlend(): %4.2f %4.2f %4.2f %4.2f\n",v_blend[0], v_blend[1], v_blend[2], v_blend[3]);