1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

added missing CAP_RVSLIDES

This commit is contained in:
Zeno Rogue 2019-09-23 01:06:57 +02:00
parent ef8a961e71
commit 8bb1c132bc

View File

@ -2440,6 +2440,7 @@ auto hooks =
dialog::addItem(XLAT("rogueviz menu"), 'u'); dialog::addItem(XLAT("rogueviz menu"), 'u');
dialog::add_action_push(rogueviz::showMenu); dialog::add_action_push(rogueviz::showMenu);
} }
#if CAP_RVSLIDES
if(current_screen_cfunction() == showStartMenu) { if(current_screen_cfunction() == showStartMenu) {
dialog::addBreak(100); dialog::addBreak(100);
dialog::addBigItem(XLAT("RogueViz"), 'r'); dialog::addBigItem(XLAT("RogueViz"), 'r');
@ -2451,6 +2452,7 @@ auto hooks =
}); });
dialog::addInfo(XLAT("see the visualizations")); dialog::addInfo(XLAT("see the visualizations"));
} }
#endif
}) + }) +
addHook(hooks_welcome_message, 100, [] () { addHook(hooks_welcome_message, 100, [] () {
if(rogueviz::on) addMessage(XLAT("Welcome to RogueViz!")); if(rogueviz::on) addMessage(XLAT("Welcome to RogueViz!"));