Browse Source

Enable navigation wrapping in difficulty selector

Fixes #661
pull/819/head
Anders Jenbo 6 years ago
parent
commit
6a6a12da38
  1. 2
      SourceX/DiabloUI/selgame.cpp

2
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:

Loading…
Cancel
Save