From 639eea08a22c0b1a79a1d55fa35238c372ab6ebe Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 4 Apr 2021 23:12:21 +0200 Subject: [PATCH] rogueviz::smoothcam:: option -smoothcam-on --- rogueviz/smoothcam.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rogueviz/smoothcam.cpp b/rogueviz/smoothcam.cpp index ccfabb9c..c8ccb0e9 100644 --- a/rogueviz/smoothcam.cpp +++ b/rogueviz/smoothcam.cpp @@ -492,6 +492,7 @@ void enable_and_show() { } auto hooks = arg::add3("-smoothcam", enable_and_show) + + arg::add3("-smoothcam-on", [] { enable_and_show(); animate_on = true; }) + addHook(dialog::hooks_display_dialog, 100, [] () { if(current_screen_cfunction() == anims::show) { dialog::addItem(XLAT("smooth camera"), 'C');