fix GetLifeDifficulty returns wrong value
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user