summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-10 20:24:21 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-10 20:24:21 +0100
commitadc712705522a6719d13851740f150712a1a8376 (patch)
treefb51b40ff5184ecd0a8f963a34ad8d7d88b09833 /src
parentupdate librw (diff)
downloadre3-adc712705522a6719d13851740f150712a1a8376.tar
re3-adc712705522a6719d13851740f150712a1a8376.tar.gz
re3-adc712705522a6719d13851740f150712a1a8376.tar.bz2
re3-adc712705522a6719d13851740f150712a1a8376.tar.lz
re3-adc712705522a6719d13851740f150712a1a8376.tar.xz
re3-adc712705522a6719d13851740f150712a1a8376.tar.zst
re3-adc712705522a6719d13851740f150712a1a8376.zip
Diffstat (limited to 'src')
-rw-r--r--src/control/Pickups.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp
index 3470e475..5186a8d2 100644
--- a/src/control/Pickups.cpp
+++ b/src/control/Pickups.cpp
@@ -1186,7 +1186,9 @@ CPickups::DoPickUpEffects(CEntity *entity)
CCoronas::REFLECTION_OFF,
CCoronas::LOSCHECK_OFF,
CCoronas::STREAK_OFF,
- 0.0f);
+ 0.0f,
+ false,
+ -0.5f);
}
}
@@ -1253,7 +1255,7 @@ CPickups::DoCollectableEffects(CEntity *entity)
int32 color = (MAXDIST - dist) * (0.5f * s + 0.5f) / MAXDIST * 255.0f;
CShadows::StoreStaticShadow((uintptr)entity, SHADOWTYPE_ADDITIVE, gpShadowExplosionTex, &pos, 2.0f, 0.0f, 0.0f, -2.0f, 0, color, color, color, 4.0f,
1.0f, 40.0f, false, 0.0f);
- CCoronas::RegisterCorona((uintptr)entity, color, color, color, 255, pos, 0.6f, 40.0f, CCoronas::TYPE_RING, CCoronas::FLARE_NONE, CCoronas::REFLECTION_OFF, CCoronas::LOSCHECK_OFF, CCoronas::STREAK_OFF, 0.0f);
+ CCoronas::RegisterCorona((uintptr)entity, color, color, color, 255, pos, 0.6f, 40.0f, CCoronas::TYPE_HEX, CCoronas::FLARE_NONE, CCoronas::REFLECTION_OFF, CCoronas::LOSCHECK_OFF, CCoronas::STREAK_OFF, 0.0f);
}
entity->GetMatrix().SetRotateZOnly((float)(CTimer::GetTimeInMilliseconds() & 0xFFF) * DEGTORAD(360.0f / 0x1000));