Disabled the small lens flare particles

This commit is contained in:
Andrei Drexler 2011-03-10 08:54:07 +00:00
parent 75e8c63330
commit d2ad17af41

View file

@ -484,6 +484,7 @@ void CG_ParseSkyPortal(const char *str)
//lens flare
cgs.sunFlareSize = atoi(Info_ValueForKey(str, "lsun"));
cgs.numFlares = atoi(Info_ValueForKey(str, "ln"));
cgs.numFlares = 0;
if (cgs.sunFlareSize > 0 || cgs.numFlares > 0) {
float alphamin, alphamax, sizemin, sizemax, dfactor = 0.75f;
int i;