- added Y/N to end game message.

This commit is contained in:
Christoph Oelckers 2020-02-11 21:33:20 +01:00
parent 1aa72cfbbd
commit 2f0a31508e

View file

@ -400,7 +400,8 @@ CCMD (menu_endgame)
} }
M_StartControlPanel (true); M_StartControlPanel (true);
FString tempstring = GStrings("ENDGAME"); FString tempstring;
tempstring << GStrings("ENDGAME") << "\n\n" << GStrings("PRESSYN");
DMenu* newmenu = CreateMessageBoxMenu(DMenu::CurrentMenu, tempstring, 0, 501, false, NAME_None, [](bool res) DMenu* newmenu = CreateMessageBoxMenu(DMenu::CurrentMenu, tempstring, 0, 501, false, NAME_None, [](bool res)
{ {
if (res) if (res)
@ -424,8 +425,8 @@ CCMD (menu_quit)
M_StartControlPanel (true); M_StartControlPanel (true);
FString EndString = GStrings("CONFIRM_QUITMSG"); FString EndString;
EndString << "\n[Y/N]"; EndString << GStrings("CONFIRM_QUITMSG") << "\n\n" << GStrings("PRESSYN");
DMenu *newmenu = CreateMessageBoxMenu(DMenu::CurrentMenu, EndString, 0, 500, false, NAME_None, [](bool res) DMenu *newmenu = CreateMessageBoxMenu(DMenu::CurrentMenu, EndString, 0, 500, false, NAME_None, [](bool res)
{ {