mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 07:20:25 +00:00
fixed the help button in the pause menu
This commit is contained in:
parent
75f58766a2
commit
09d67c24f0
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([] {
|
||||
|
Loading…
Reference in New Issue
Block a user