summaryrefslogtreecommitdiffstats
path: root/src/control/Pickups.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-27 18:04:13 +0100
committerSergeanur <s.anureev@yandex.ua>2019-10-27 18:04:13 +0100
commitcce3aac4c3ea654f943b8b4b9cb81a733ad2a87b (patch)
tree7f5c4b84f94a53a8f630c44a58c1cab8cab141c1 /src/control/Pickups.cpp
parentMerge pull request #261 from erorcun/erorcun (diff)
downloadre3-cce3aac4c3ea654f943b8b4b9cb81a733ad2a87b.tar
re3-cce3aac4c3ea654f943b8b4b9cb81a733ad2a87b.tar.gz
re3-cce3aac4c3ea654f943b8b4b9cb81a733ad2a87b.tar.bz2
re3-cce3aac4c3ea654f943b8b4b9cb81a733ad2a87b.tar.lz
re3-cce3aac4c3ea654f943b8b4b9cb81a733ad2a87b.tar.xz
re3-cce3aac4c3ea654f943b8b4b9cb81a733ad2a87b.tar.zst
re3-cce3aac4c3ea654f943b8b4b9cb81a733ad2a87b.zip
Diffstat (limited to 'src/control/Pickups.cpp')
-rw-r--r--src/control/Pickups.cpp2
1 files changed, 1 insertions, 1 deletions
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;