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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user