(svn r16750) -Fix: mark the intro gui dirty when changing the difficulty level to avoid glitches on the difficulty button

This commit is contained in:
yexo 2009-07-05 16:14:50 +00:00
parent d95f548576
commit 2ac03f6271

View File

@ -815,6 +815,7 @@ static bool DifficultyChange(int32)
ShowErrorMessage(INVALID_STRING_ID, STR_DIFFICULTY_TO_CUSTOM, 0, 0);
_settings_newgame.difficulty.diff_level = 3;
}
InvalidateWindowClasses(WC_SELECT_GAME);
} else {
_settings_game.difficulty.diff_level = 3;
}