mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-29 16:57:56 +00:00
fixed the help button in the pause menu
This commit is contained in:
2
help.cpp
2
help.cpp
@@ -85,7 +85,7 @@ vector<string> extra_keys_3d = {
|
||||
"move mouse = rotate camera (in rug, only with lctrl)",
|
||||
};
|
||||
|
||||
void buildHelpText() {
|
||||
EX void buildHelpText() {
|
||||
DEBBI(DF_GRAPH, ("buildHelpText"));
|
||||
|
||||
help = XLAT("Welcome to HyperRogue");
|
||||
|
1
quit.cpp
1
quit.cpp
@@ -550,6 +550,7 @@ EX void showGameMenu() {
|
||||
#endif
|
||||
#endif
|
||||
dialog::addHelp();
|
||||
dialog::add_action([] { buildHelpText(); gotoHelp(help); });
|
||||
dialog::addItem(XLAT("restart"), SDLK_F5);
|
||||
dialog::addItem(inSpecialMode() ? XLAT("reset special modes") : XLAT("back to the start menu"), 'R');
|
||||
dialog::add_action([] {
|
||||
|
Reference in New Issue
Block a user