mirror of
https://github.com/halpz/re3.git
synced 2025-05-11 00:06:39 +03:00
Audio fixes
This commit is contained in:
parent
ea1a581df2
commit
cce3aac4c3
3 changed files with 54 additions and 48 deletions
|
@ -660,7 +660,7 @@ CPickups::DoPickUpEffects(CEntity *entity)
|
|||
|
||||
if (!entity->m_flagD80) {
|
||||
float s = Sin((float)((CTimer::GetTimeInMilliseconds() + (uintptr)entity) & 0x7FF) * DEGTORAD(360.0f / 0x800));
|
||||
float modifiedSin = 0.3 * (s + 1.0f);
|
||||
float modifiedSin = 0.3f * (s + 1.0f);
|
||||
|
||||
|
||||
int16 colorId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue