fix SuddenDeath being scaled by LifeDifficulty by instead just not scaling it.

This commit is contained in:
Jonathan Payne
2012-03-20 21:26:24 -07:00
parent 720397243b
commit 93db98d0ea
3 changed files with 13 additions and 0 deletions
+8
View File
@@ -221,6 +221,14 @@ void LifeMeterBar::ChangeLife( float fDeltaLife )
fDeltaLife *= m_fLifeDifficulty;
else
fDeltaLife /= m_fLifeDifficulty;
break;
case SongOptions::DRAIN_SUDDEN_DEATH:
// This should always -1.0f;
if( fDeltaLife < 0 )
fDeltaLife = -1.0f;
else
fDeltaLife = 0;
break;
default:
break;
}