2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 02:27:43 +00:00

Additional CStateManager imps

This commit is contained in:
Jack Andersen
2017-03-26 09:36:07 -10:00
parent afa846e469
commit f016a251db
7 changed files with 102 additions and 23 deletions

View File

@@ -47,9 +47,9 @@ void CPlayer::Update(float, CStateManager& mgr) {}
bool CPlayer::IsPlayerDeadEnough() const
{
if (x2f8_morphTransState == CPlayer::EPlayerMorphBallState::Unmorphed)
return x9f4_ < 2.5f;
return x9f4_deathTime < 2.5f;
else if (x2f8_morphTransState == CPlayer::EPlayerMorphBallState::Morphed)
return x9f4_ < 6.f;
return x9f4_deathTime < 6.f;
return false;
}