mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-24 04:32:05 +00:00
Disabled the small lens flare particles
This commit is contained in:
parent
75e8c63330
commit
d2ad17af41
1 changed files with 1 additions and 0 deletions
|
@ -484,6 +484,7 @@ void CG_ParseSkyPortal(const char *str)
|
||||||
//lens flare
|
//lens flare
|
||||||
cgs.sunFlareSize = atoi(Info_ValueForKey(str, "lsun"));
|
cgs.sunFlareSize = atoi(Info_ValueForKey(str, "lsun"));
|
||||||
cgs.numFlares = atoi(Info_ValueForKey(str, "ln"));
|
cgs.numFlares = atoi(Info_ValueForKey(str, "ln"));
|
||||||
|
cgs.numFlares = 0;
|
||||||
if (cgs.sunFlareSize > 0 || cgs.numFlares > 0) {
|
if (cgs.sunFlareSize > 0 || cgs.numFlares > 0) {
|
||||||
float alphamin, alphamax, sizemin, sizemax, dfactor = 0.75f;
|
float alphamin, alphamax, sizemin, sizemax, dfactor = 0.75f;
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in a new issue