Cleanup.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user