mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #161 from lioncash/return
CPlayer: Add missing return within UpdateOrbitModeTimer()
This commit is contained in:
commit
5454fc213b
|
@ -4230,8 +4230,10 @@ void CPlayer::UpdateOrbitPreventionTimer(float dt) {
|
|||
}
|
||||
|
||||
void CPlayer::UpdateOrbitModeTimer(float dt) {
|
||||
if (x304_orbitState == EPlayerOrbitState::NoOrbit && x32c_orbitModeTimer > 0.f)
|
||||
if (x304_orbitState == EPlayerOrbitState::NoOrbit && x32c_orbitModeTimer > 0.f) {
|
||||
x32c_orbitModeTimer -= dt;
|
||||
return;
|
||||
}
|
||||
x32c_orbitModeTimer = 0.f;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue