Added HarshHotLifePenalty preference.

This commit is contained in:
Kyzentun
2015-03-08 23:44:18 -06:00
parent d617321766
commit 9353840583
7 changed files with 14 additions and 3 deletions
+2 -2
View File
@@ -125,7 +125,7 @@ void LifeMeterBar::ChangeLife( TapNoteScore score )
}
// this was previously if( IsHot() && score < TNS_GOOD ) in 3.9... -freem
if( IsHot() && fDeltaLife < 0 )
if(PREFSMAN->m_HarshHotLifePenalty && IsHot() && fDeltaLife < 0)
fDeltaLife = min( fDeltaLife, -0.10f ); // make it take a while to get back to "hot"
switch(m_pPlayerState->m_PlayerOptions.GetSong().m_DrainType)
@@ -162,7 +162,7 @@ void LifeMeterBar::ChangeLife( HoldNoteScore score, TapNoteScore tscore )
default:
FAIL_M(ssprintf("Invalid HoldNoteScore: %i", score));
}
if( IsHot() && score == HNS_LetGo )
if(PREFSMAN->m_HarshHotLifePenalty && IsHot() && score == HNS_LetGo)
fDeltaLife = -0.10f; // make it take a while to get back to "hot"
break;
case DrainType_NoRecover: