x24c_effectTimer wasn't counted down

This commit is contained in:
shiiion 2021-10-31 04:20:19 -07:00
parent d0838701f5
commit 345234eb88
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ void CWaveBeam::UpdateGunFx(bool shotSmoke, float dt, const CStateManager& mgr,
} }
} }
if (x258_25_effectTimerActive && x24c_effectTimer > 0.f) if (x258_25_effectTimerActive && x24c_effectTimer > 0.f)
x24c_effectTimer -= 0.f; x24c_effectTimer -= dt;
} }
CGunWeapon::UpdateGunFx(shotSmoke, dt, mgr, xf); CGunWeapon::UpdateGunFx(shotSmoke, dt, mgr, xf);
} }