From 8bb1c132bcf6efabb813925041347958af24067f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 23 Sep 2019 01:06:57 +0200 Subject: [PATCH] added missing CAP_RVSLIDES --- rogueviz/rogueviz.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rogueviz/rogueviz.cpp b/rogueviz/rogueviz.cpp index 6cd380ab..d1b2107f 100644 --- a/rogueviz/rogueviz.cpp +++ b/rogueviz/rogueviz.cpp @@ -2440,6 +2440,7 @@ auto hooks = dialog::addItem(XLAT("rogueviz menu"), 'u'); dialog::add_action_push(rogueviz::showMenu); } + #if CAP_RVSLIDES if(current_screen_cfunction() == showStartMenu) { dialog::addBreak(100); dialog::addBigItem(XLAT("RogueViz"), 'r'); @@ -2451,6 +2452,7 @@ auto hooks = }); dialog::addInfo(XLAT("see the visualizations")); } + #endif }) + addHook(hooks_welcome_message, 100, [] () { if(rogueviz::on) addMessage(XLAT("Welcome to RogueViz!"));