This commit is contained in:
Steve Checkoway
2006-08-06 02:42:40 +00:00
parent ba0d51cc7a
commit 0f69c20eba
2 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -330,8 +330,7 @@ void LifeMeterBar::DrawPrimitives()
ActorFrame::DrawPrimitives();
}
#include "RageLog.h"
void LifeMeterBar::UpdateNonstopLifebar(const int cleared,
const int total, int ProgressiveLifebarDifficulty)
void LifeMeterBar::UpdateNonstopLifebar( const int cleared, const int total, int ProgressiveLifebarDifficulty )
{
// if (cleared > total) cleared = total; // clear/total <= 1
// if (total == 0) total = 1; // no division by 0
@@ -361,7 +360,8 @@ void LifeMeterBar::UpdateNonstopLifebar(const int cleared,
else
m_fLifeDifficulty = m_fBaseLifeDifficulty - 0.2f * ProgressiveLifebarDifficulty;
if (m_fLifeDifficulty >= 0.4) return;
if( m_fLifeDifficulty >= 0.4f )
return;
/*
* Approximate deductions for a miss