Jeck - Fix for two obscure edge case bugs in the options menu.

* Confirmable options used to only check for confirmation when selecting another option. They now autoconfirm when saving & exiting. This bug could possibly result in loading the wrong theme. Fixed.
 * Changing profiles, canceling, then changing to the profile again could also result in improper theme loading. Fixed.
This commit is contained in:
wagic.jeck
2009-10-21 02:34:29 +00:00
parent 63ddbd52ad
commit 6d62c013df
3 changed files with 17 additions and 14 deletions
+2 -3
View File
@@ -115,10 +115,9 @@ void GameStateOptions::Update(float dt)
case SHOW_OPTIONS_MENU:
optionsMenu->Update(dt);
break;
}
}
if(mReload){
options.reloadProfile(false);
options.reloadProfile(true);
optionsTabs->Reload();
mReload = false;
}