Sneak in a minor game settings fix

This commit is contained in:
Henrik Rydgård committed 2017-01-17 18:55:48 +07:00
1 parent a1016b646e
commit 941d128248
1 file changed
+1 -1
+1 -1
View File
@@ -273,7 +273,7 @@ void GameSettingsScreen::CreateViews() {
static const char *quality[] = { "Low", "Medium", "High"};
PopupMultiChoice *beziersChoice = graphicsSettings->Add(new PopupMultiChoice(&g_Config.iSplineBezierQuality, gr->T("LowCurves", "Spline/Bezier curves quality"), quality, 0, ARRAY_SIZE(quality), gr->GetName(), screenManager()));
beziersChoice->OnChoice.Add([=](EventParams &e) {
if (&g_Config.iSplineBezierQuality != 0) {
if (g_Config.iSplineBezierQuality != 0) {
settingInfo_->Show(gr->T("LowCurves Tip", "This option will significantly improve/reduce the quality of rendered splines and bezier curves"), e.v);
}
return UI::EVENT_CONTINUE;