From 6a6a12da385daaa62cf56f8ab1cdc0ca03b14439 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Thu, 17 Sep 2020 00:55:14 +0200 Subject: [PATCH] Enable navigation wrapping in difficulty selector Fixes #661 --- SourceX/DiabloUI/selgame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SourceX/DiabloUI/selgame.cpp b/SourceX/DiabloUI/selgame.cpp index 9a02a34ce..2de0bd1f1 100644 --- a/SourceX/DiabloUI/selgame.cpp +++ b/SourceX/DiabloUI/selgame.cpp @@ -166,7 +166,7 @@ void selgame_GameSelection_Select(int value) SDL_Rect rect6 = { PANEL_LEFT + 449, 427, 140, 35 }; vecSelGameDialog.push_back(new UiArtTextButton("CANCEL", &UiFocusNavigationEsc, rect6, UIS_CENTER | UIS_VCENTER | UIS_BIG | UIS_GOLD)); - UiInitList(0, NUM_DIFFICULTIES - 1, selgame_Diff_Focus, selgame_Diff_Select, selgame_Diff_Esc, vecSelGameDialog); + UiInitList(0, NUM_DIFFICULTIES - 1, selgame_Diff_Focus, selgame_Diff_Select, selgame_Diff_Esc, vecSelGameDialog, true); break; } case 1: