diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-10-17 15:04:11 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-10-17 15:04:11 +0200 |
commit | 7f3b51dd17977b42d6ab0bc723824dc109eb024f (patch) | |
tree | c6a07db22e5e1f83853d8801d3848ce9c7dad304 /src | |
parent | More Pickup stuff (diff) | |
download | re3-7f3b51dd17977b42d6ab0bc723824dc109eb024f.tar re3-7f3b51dd17977b42d6ab0bc723824dc109eb024f.tar.gz re3-7f3b51dd17977b42d6ab0bc723824dc109eb024f.tar.bz2 re3-7f3b51dd17977b42d6ab0bc723824dc109eb024f.tar.lz re3-7f3b51dd17977b42d6ab0bc723824dc109eb024f.tar.xz re3-7f3b51dd17977b42d6ab0bc723824dc109eb024f.tar.zst re3-7f3b51dd17977b42d6ab0bc723824dc109eb024f.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/control/Pickups.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp index b770ab12..71d7401e 100644 --- a/src/control/Pickups.cpp +++ b/src/control/Pickups.cpp @@ -1106,8 +1106,14 @@ CPickups::DoPickUpEffects(CEntity *entity) } if (doInnerGlow) - CCoronas::RegisterCorona((uintptr)entity + 8, 126, 69, 121, 255, entity->GetPosition(), 1.2f, 50.0f, - CCoronas::TYPE_STAR, CCoronas::FLARE_NONE, CCoronas::REFLECTION_ON, CCoronas::LOSCHECK_OFF, CCoronas::STREAK_ON, 0.f); + CCoronas::RegisterCorona( +#ifdef FIX_BUGS + (uintptr)entity + 8 + 4, +#else + (uintptr)entity + 9, +#endif + 126, 69, 121, 255, entity->GetPosition(), 1.2f, 50.0f, + CCoronas::TYPE_STAR, CCoronas::FLARE_NONE, CCoronas::REFLECTION_ON, CCoronas::LOSCHECK_OFF, CCoronas::STREAK_ON, 0.0f); } } |