Merge pull request #132 from lioncash/static-instance

CRealElement: Remove redundant instance() call in CRELifetimeTween::GetValue()
This commit is contained in:
Phillip Stephens 2020-01-30 20:11:24 -08:00 committed by GitHub
commit 0116e56332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ bool CREKeyframeEmitter::GetValue(int frame, float& valOut) const {
}
bool CRELifetimeTween::GetValue(int frame, float& valOut) const {
float ltFac = frame / CParticleGlobals::instance()->instance()->m_ParticleLifetimeReal;
float ltFac = frame / CParticleGlobals::instance()->m_ParticleLifetimeReal;
float a, b;
x4_a->GetValue(frame, a);
x8_b->GetValue(frame, b);