simplify m_fPassmark. Use with FailAtEnd.

This commit is contained in:
Glenn Maynard
2006-11-09 09:21:52 +00:00
parent 08bf61191d
commit bc9ad19157
2 changed files with 1 additions and 11 deletions
+1 -1
View File
@@ -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;
}