Fix warning.

This commit is contained in:
Glenn Maynard
2003-09-05 06:59:15 +00:00
parent 3f1c961a12
commit 59d24ab3e5
+1 -1
View File
@@ -549,7 +549,7 @@ void LifeMeterBar::UpdateNonstopLifebar(const int cleared,
// about 20% of your lifebar); at 0.2 it would be 40%, which
// is too harsh at one difficulty level higher. Override.
int m_iLifeDifficulty = ((1.8 - m_fLifeDifficulty)/0.2);
int m_iLifeDifficulty = int((1.8f - m_fLifeDifficulty)/0.2f);
// first eight values don't matter
float DifficultyValues[16] = {0,0,0,0,0,0,0,0,