fix GetLifeDifficulty returns wrong value

This commit is contained in:
Chris Danford
2007-03-07 02:51:34 +00:00
parent 8ca11d46b7
commit 16c154f031
+1 -1
View File
@@ -424,7 +424,7 @@ static void LifeDifficulty( int &sel, bool ToSel, const ConfOption *pConfOption
static int GetLifeDifficulty()
{
int iLifeDifficulty = 0;
LifeDifficulty( iLifeDifficulty, true, ConfOption::Find("Premium") );
LifeDifficulty( iLifeDifficulty, true, ConfOption::Find("LifeDifficulty") );
iLifeDifficulty++; // LifeDifficulty returns an index
return iLifeDifficulty;
}