Cleanup.
This commit is contained in:
@@ -330,8 +330,7 @@ void LifeMeterBar::DrawPrimitives()
|
|||||||
ActorFrame::DrawPrimitives();
|
ActorFrame::DrawPrimitives();
|
||||||
}
|
}
|
||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
void LifeMeterBar::UpdateNonstopLifebar(const int cleared,
|
void LifeMeterBar::UpdateNonstopLifebar( const int cleared, const int total, int ProgressiveLifebarDifficulty )
|
||||||
const int total, int ProgressiveLifebarDifficulty)
|
|
||||||
{
|
{
|
||||||
// if (cleared > total) cleared = total; // clear/total <= 1
|
// if (cleared > total) cleared = total; // clear/total <= 1
|
||||||
// if (total == 0) total = 1; // no division by 0
|
// if (total == 0) total = 1; // no division by 0
|
||||||
@@ -361,7 +360,8 @@ void LifeMeterBar::UpdateNonstopLifebar(const int cleared,
|
|||||||
else
|
else
|
||||||
m_fLifeDifficulty = m_fBaseLifeDifficulty - 0.2f * ProgressiveLifebarDifficulty;
|
m_fLifeDifficulty = m_fBaseLifeDifficulty - 0.2f * ProgressiveLifebarDifficulty;
|
||||||
|
|
||||||
if (m_fLifeDifficulty >= 0.4) return;
|
if( m_fLifeDifficulty >= 0.4f )
|
||||||
|
return;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Approximate deductions for a miss
|
* Approximate deductions for a miss
|
||||||
|
|||||||
Reference in New Issue
Block a user