mirror of https://github.com/AxioDL/metaforce.git
x24c_effectTimer wasn't counted down
This commit is contained in:
parent
d0838701f5
commit
345234eb88
|
@ -54,7 +54,7 @@ void CWaveBeam::UpdateGunFx(bool shotSmoke, float dt, const CStateManager& mgr,
|
|||
}
|
||||
}
|
||||
if (x258_25_effectTimerActive && x24c_effectTimer > 0.f)
|
||||
x24c_effectTimer -= 0.f;
|
||||
x24c_effectTimer -= dt;
|
||||
}
|
||||
CGunWeapon::UpdateGunFx(shotSmoke, dt, mgr, xf);
|
||||
}
|
||||
|
@ -165,4 +165,4 @@ void CWaveBeam::Unload(CStateManager& mgr) {
|
|||
|
||||
bool CWaveBeam::IsLoaded() const { return CGunWeapon::IsLoaded() && x258_24_loaded; }
|
||||
|
||||
} // namespace metaforce
|
||||
} // namespace metaforce
|
||||
|
|
Loading…
Reference in New Issue