Audio fixes

This commit is contained in:
Sergeanur committed 2019-10-27 19:04:13 +02:00
1 parent ea1a581df2
commit cce3aac4c3
3 files changed
+54 -48

No files matched your search

+1 -1
View File
@@ -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;