From 2ac03f627124d02f2e9ed21b4971ca3eff26daa1 Mon Sep 17 00:00:00 2001 From: yexo Date: Sun, 5 Jul 2009 16:14:50 +0000 Subject: (svn r16750) -Fix: mark the intro gui dirty when changing the difficulty level to avoid glitches on the difficulty button --- src/settings.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index 665a0bbbd..57ac57bed 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -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; } -- cgit v1.2.3-54-g00ecf