DIRTY FIX: someone thought progressive stages affected lifebar difficulty; do an additional check in function to make sure we're not in event mode
This commit is contained in:
@@ -483,6 +483,14 @@ void LifeMeterBar::UpdateNonstopLifebar(const int cleared,
|
||||
return;
|
||||
}
|
||||
|
||||
// should be checked before calling function, but in case
|
||||
// it isn't, do so here
|
||||
if (PREFSMAN->m_bEventMode)
|
||||
{
|
||||
m_fLifeDifficulty = m_fBaseLifeDifficulty;
|
||||
return;
|
||||
}
|
||||
|
||||
if (total > 1)
|
||||
m_fLifeDifficulty = m_fBaseLifeDifficulty - 0.2f * (int)(ProgressiveLifebarDifficulty * cleared / (total - 1));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user