HPL1: disable menu to change key mapping in the game

This commit is contained in:
grisenti 2022-08-20 17:57:38 +02:00 committed by Eugene Sandulenko
parent e3bd86aaa4
commit 02caa68e79
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -2712,9 +2712,9 @@ void cMainMenu::CreateWidgets() {
vPos.y += 5;
}
cMainMenuWidget *pWidgetChangeKeyConf = hplNew(cMainMenuWidget_Button, (mpInit, vPos, kTranslate("MainMenu", "Change Key Mapping"), eMainMenuState_OptionsKeySetupMove, 20, eFontAlign_Center));
AddWidgetToState(eMainMenuState_OptionsControls, pWidgetChangeKeyConf);
vPos.y += 35;
// cMainMenuWidget *pWidgetChangeKeyConf = hplNew(cMainMenuWidget_Button, (mpInit, vPos, kTranslate("MainMenu", "Change Key Mapping"), eMainMenuState_OptionsKeySetupMove, 20, eFontAlign_Center));
// AddWidgetToState(eMainMenuState_OptionsControls, pWidgetChangeKeyConf);
// vPos.y += 35;
AddWidgetToState(eMainMenuState_OptionsControls, hplNew(cMainMenuWidget_Button, (mpInit, vPos, kTranslate("MainMenu", "Back"), eMainMenuState_Options, 23, eFontAlign_Center)));
// Text