Fixing compiler warnings

This commit is contained in:
Richard Allen 2012-10-13 18:47:42 +00:00
parent 65a6d95af0
commit 0fd659c5c2
1 changed files with 2 additions and 2 deletions

View File

@ -1223,8 +1223,8 @@ void CG_AddLensFlare(qboolean sun)
ent.renderfx = RF_SUNFLARE; ent.renderfx = RF_SUNFLARE;
ent.shaderRGBA[0] = cgs.flareFadeFactor * cgs.sunAlpha * 255; ent.shaderRGBA[0] = cgs.flareFadeFactor * cgs.sunAlpha * 255;
ent.shaderRGBA[1] = cgs.sunAlpha * 255; ent.shaderRGBA[1] = cgs.sunAlpha * 255;
ent.shaderRGBA[2] = 0.f; ent.shaderRGBA[2] = 0;
ent.shaderRGBA[3] = 0.f; ent.shaderRGBA[3] = 0;
trap_R_AddRefEntityToScene(&ent); trap_R_AddRefEntityToScene(&ent);
} }
//speed hack //speed hack