Fixed compiler warnings (m_ssao is bool, not int).

This commit is contained in:
hiker 2014-05-16 14:28:12 +10:00
parent 94457e7a53
commit fd0b017b5f

View File

@ -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 ?