Fixed saving of Game Settings when exiting Game Settings via the Close button instead of the Go Back button.

This commit is contained in:
Carl.Kenner 2009-04-26 20:11:30 +00:00
parent 6958b9e6bb
commit ad6ce0bcb7

View File

@ -1786,6 +1786,7 @@ static int MenuGameSettings()
else if(closeBtn.GetState() == STATE_CLICKED)
{
menu = MENU_EXIT;
SavePrefs(NOTSILENT);
exitSound->Play();
bgTopImg->SetEffect(EFFECT_SLIDE_TOP | EFFECT_SLIDE_OUT, 15);