mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #431 from shiiion/wavebeam-chargefx-fix
x24c_effectTimer wasn't counted down
This commit is contained in:
commit
dac63e3fc3
|
@ -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