git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@185
d7cf8633-e32d-0410-b094-
e92efae38249
lightmap = surf->samples;
// set to full bright if no light data
- if (currententity && currententity->effects & EF_FULLBRIGHT || !cl.worldmodel->lightdata)
+ if ((currententity && currententity->effects & EF_FULLBRIGHT) || !cl.worldmodel->lightdata)
{
bl = blocklights;
for (i=0 ; i<size ; i++)
if (p->alpha < 64)
p->die = -1;
break;
+ default:
+ break;
}
// LordHavoc: immediate removal of unnecessary particles (must be done to ensure compactor below operates properly in all cases)