1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-15 05:07:16 +00:00

extra exports

This commit is contained in:
Zeno Rogue
2022-08-14 19:25:10 +02:00
parent 9108d06543
commit 40765e8808
3 changed files with 11 additions and 1 deletions

View File

@@ -500,6 +500,7 @@ EX void showGameMenu() {
clearMessages();
get_o_key().second();
});
#if CAP_INV
if(inv::on && items[itInventory]) {
dialog::addItem(XLAT("inventory"), 'i');
dialog::add_action([] {
@@ -507,6 +508,7 @@ EX void showGameMenu() {
pushScreen(inv::show);
});
}
#endif
if(casual || ISMOBILE) {
if(casual && savecount)
dialog::addItem(XLAT("load (%1 turns passed)", its(turncount - save_turns)), SDLK_F9);