mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 00:27:42 +00:00
Additional CPlayer work
This commit is contained in:
@@ -61,4 +61,11 @@ void CPlayerGun::CancelFiring(CStateManager& mgr)
|
||||
|
||||
}
|
||||
|
||||
float CPlayerGun::GetBeamVelocity() const
|
||||
{
|
||||
if (x72c_currentBeam->IsLoaded())
|
||||
return x72c_currentBeam->GetVelocityInfo().GetVelocity(x330_chargeWeaponIdx).y;
|
||||
return 10.f;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user