mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
CElementGen constructor
This commit is contained in:
@@ -25,7 +25,7 @@ bool CVEKeyframeEmitter::GetValue(int frame, Zeus::CVector3f& valOut) const
|
||||
{
|
||||
if (!x4_percent)
|
||||
{
|
||||
int emitterTime = CParticleGlobals::g_emitterTimeInt;
|
||||
int emitterTime = CParticleGlobals::g_EmitterTime;
|
||||
int calcKey = emitterTime;
|
||||
if (xc_loop)
|
||||
{
|
||||
@@ -47,8 +47,8 @@ bool CVEKeyframeEmitter::GetValue(int frame, Zeus::CVector3f& valOut) const
|
||||
}
|
||||
else
|
||||
{
|
||||
int ltPerc = CParticleGlobals::g_particleLifetimePercentTweenInt;
|
||||
float ltPercRem = CParticleGlobals::g_particleLifetimePercentTweenIntFloatRem;
|
||||
int ltPerc = CParticleGlobals::g_ParticleLifetimePercentage;
|
||||
float ltPercRem = CParticleGlobals::g_ParticleLifetimePercentageRemainder;
|
||||
if (ltPerc == 100)
|
||||
valOut = x18_keys[100];
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user