mirror of
https://github.com/halpz/re3.git
synced 2025-05-11 00:16:38 +03:00
Fixes for Serge's review
This commit is contained in:
parent
7c425ac4ac
commit
8f01eab5ab
19 changed files with 624 additions and 791 deletions
|
@ -704,7 +704,7 @@ CPickups::DoPickUpEffects(CEntity *entity)
|
|||
aWeaponReds[colorId] * colorModifier, aWeaponGreens[colorId] * colorModifier, aWeaponBlues[colorId] * colorModifier,
|
||||
4.0f, 1.0f, 40.0f, false, 0.0f);
|
||||
|
||||
float radius = (double)(rand() & 0xF) * 0.1 + 3.0;
|
||||
float radius = (double)(rand() & 0xF) * 0.1 + 3.0f;
|
||||
CPointLights::AddLight(CPointLights::LIGHT_POINT, pos, CVector(0.0f, 0.0f, 0.0f), radius, aWeaponReds[colorId] * modifiedSin / 256.0f, aWeaponGreens[colorId] * modifiedSin / 256.0f, aWeaponBlues[colorId] * modifiedSin / 256.0f, CPointLights::FOG_NONE, true);
|
||||
float size = (double)(rand() & 0xF) * 0.0005 + 0.6;
|
||||
CCoronas::RegisterCorona( (uintptr)entity,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue