simplify m_fPassmark. Use with FailAtEnd.
This commit is contained in:
@@ -284,7 +284,7 @@ bool LifeMeterBar::IsInDanger() const
|
||||
|
||||
bool LifeMeterBar::IsFailing() const
|
||||
{
|
||||
return m_fLifePercentage <= 0;
|
||||
return m_fLifePercentage <= m_pPlayerState->m_PlayerOptions.GetCurrent().m_fPassmark;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user