From fd0b017b5f830b43eca3cf4c2a6cf19c147cf3a7 Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 16 May 2014 14:28:12 +1000 Subject: [PATCH] Fixed compiler warnings (m_ssao is bool, not int). --- src/states_screens/options_screen_video.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/states_screens/options_screen_video.cpp b/src/states_screens/options_screen_video.cpp index 44c026336..0fef09ab8 100644 --- a/src/states_screens/options_screen_video.cpp +++ b/src/states_screens/options_screen_video.cpp @@ -427,8 +427,7 @@ void OptionsScreenVideo::updateTooltip() UserConfigParams::m_mlaa ? enabled : disabled); //I18N: in graphical options tooltip = tooltip + L"\n" + _("Ambient occlusion : %s", - UserConfigParams::m_ssao == 1 ? "low" : UserConfigParams::m_ssao == 2 ? - "high" : disabled); + UserConfigParams::m_ssao ? enabled : disabled); //I18N: in graphical options tooltip = tooltip + L"\n" + _("Shadows: %s", UserConfigParams::m_shadows == 1 ? "low" : UserConfigParams::m_shadows == 2 ?