mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-21 11:21:41 +00:00
Fixing compiler warnings
This commit is contained in:
parent
65a6d95af0
commit
0fd659c5c2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue