More audio ped

This commit is contained in:
Filip Gawin committed 2019-08-27 21:13:17 +02:00
1 parent 7d1e1bf1dd
commit af5bd951ae
49 files changed
+8804 -252

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ CPointLights::GenerateLightsAffectingObject(CVector *objCoors)
if(aLights[i].type == LIGHT_DIRECTIONAL){
float dot = -DotProduct(dir, aLights[i].dir);
intensity *= max((dot-0.5f)*2.0f, 0.0f);
intensity *= Max((dot-0.5f)*2.0f, 0.0f);
}
if(intensity > 0.0f)