mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
Move CParticleGlobals from the executable and onto the heap, minor fixes, update wiki link
This commit is contained in:
@@ -408,9 +408,9 @@ void CProjectileWeapon::Update(float dt) {
|
||||
|
||||
while (actualTime < xd0_curTime && !zeus::close_enough(actualTime, xd0_curTime)) {
|
||||
if (xf4_curFrame < xe8_lifetime) {
|
||||
CParticleGlobals::SetEmitterTime(xf4_curFrame);
|
||||
CParticleGlobals::SetParticleLifetime(xe8_lifetime);
|
||||
CParticleGlobals::UpdateParticleLifetimeTweenValues(xf4_curFrame);
|
||||
CParticleGlobals::instance()->SetEmitterTime(xf4_curFrame);
|
||||
CParticleGlobals::instance()->SetParticleLifetime(xe8_lifetime);
|
||||
CParticleGlobals::instance()->UpdateParticleLifetimeTweenValues(xf4_curFrame);
|
||||
UpdatePSTranslationAndOrientation();
|
||||
}
|
||||
actualTime += (1.0 / 60.0);
|
||||
|
||||
Reference in New Issue
Block a user