mirror of
https://github.com/halpz/re3.git
synced 2024-12-24 17:55:29 +00:00
fix pickup coronas
This commit is contained in:
parent
ebca91e0d0
commit
adc7127055
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue