2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:07:41 +00:00

Additional CPlayerGun implementations; downcast macro for tweak pointers

This commit is contained in:
Jack Andersen
2017-08-26 17:02:18 -10:00
parent 86ada63867
commit 1f7e8e1033
38 changed files with 780 additions and 141 deletions

View File

@@ -666,7 +666,7 @@ float CPlayer::UpdateCameraBob(float dt, CStateManager& mgr)
}
else if (bobMag < 0.01f)
{
if (x490_gun->GetFiring())
if (x490_gun->GetLastFireButtonStates() != 0)
{
bobMag = 0.f;
state = CPlayerCameraBob::ECameraBobState::GunFireNoBob;