2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 19:07:46 +00:00

CPlayerGun: Rename EMissileState; minor CMotionState::Update fix

This commit is contained in:
2020-04-19 00:26:53 -04:00
parent a3e0c42794
commit e50d363e88
5 changed files with 42 additions and 44 deletions

View File

@@ -220,7 +220,7 @@ void CCompoundTargetReticle::Update(float dt, const CStateManager& mgr) {
std::max(x214_fullChargeFadeTimer - dt / g_tweakTargeting->GetFullChargeFadeDuration(), 0.f);
}
const bool missileActive = gun->GetMissleMode() == CPlayerGun::EMissleMode::Active;
const bool missileActive = gun->GetMissleMode() == CPlayerGun::EMissileMode::Active;
if (missileActive != x1f4_missileActive) {
if (x1f8_missileBracketTimer != 0.f) {
x1f8_missileBracketTimer = FLT_EPSILON - x1f8_missileBracketTimer;