diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-27 18:04:13 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-27 18:04:13 +0100 |
commit | cce3aac4c3ea654f943b8b4b9cb81a733ad2a87b (patch) | |
tree | 7f5c4b84f94a53a8f630c44a58c1cab8cab141c1 /src/control | |
parent | Merge pull request #261 from erorcun/erorcun (diff) | |
download | re3-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')
-rw-r--r-- | src/control/Pickups.cpp | 2 |
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;
|