From cce3aac4c3ea654f943b8b4b9cb81a733ad2a87b Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Sun, 27 Oct 2019 19:04:13 +0200 Subject: Audio fixes --- src/control/Pickups.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/control/Pickups.cpp') diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp index 91fd889c..52861e99 100644 --- a/src/control/Pickups.cpp +++ b/src/control/Pickups.cpp @@ -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; -- cgit v1.2.3