1
0
Fork 0
forked from fte/fteqw

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

View file

@ -751,11 +751,13 @@ void GLR_DrawViewModel (void)
case mod_halflife: case mod_halflife:
R_DrawHLModel (currententity); R_DrawHLModel (currententity);
break; break;
#else
case mod_halflife: //no gcc warning please
break;
#endif #endif
//we don't support these as view models
case mod_brush: case mod_brush:
break;
case mod_dummy: case mod_dummy:
break; break;
} }
@ -770,7 +772,7 @@ R_PolyBlend
void R_PolyBlend (void) void R_PolyBlend (void)
{ {
extern qboolean gammaworks; extern qboolean gammaworks;
if (!v_blend[3]) if (!v_blend[3] || gammaworks)
return; 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]); //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]);