summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-07-05 16:14:50 +0000
committeryexo <yexo@openttd.org>2009-07-05 16:14:50 +0000
commit2ac03f627124d02f2e9ed21b4971ca3eff26daa1 (patch)
treeefbf7d867cae76344020ff9a952dfad9749056e2 /src/settings.cpp
parentd95f5485761cafc305309555c95d850c29b55b42 (diff)
downloadopenttd-2ac03f627124d02f2e9ed21b4971ca3eff26daa1.tar.xz
(svn r16750) -Fix: mark the intro gui dirty when changing the difficulty level to avoid glitches on the difficulty button
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}