From 9bda1ecbf3ec566bce22c837e8bdcab8ef946e37 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 15 Feb 2023 14:51:51 +0100 Subject: [PATCH] rogueviz::smoothcam:: -smoothcam-anim-on --- rogueviz/smoothcam.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rogueviz/smoothcam.cpp b/rogueviz/smoothcam.cpp index ebbcefe4..88493506 100644 --- a/rogueviz/smoothcam.cpp +++ b/rogueviz/smoothcam.cpp @@ -669,6 +669,10 @@ auto hooks = arg::add3("-smoothcam", enable_and_show) animate_on = true; last_time = HUGE_VAL; }) + + arg::add3("-smoothcam-anim-on", [] { + animate_on = true; + last_time = HUGE_VAL; + }) + addHook(dialog::hooks_display_dialog, 100, [] () { if(current_screen_cfunction() == anims::show) { dialog::addItem(XLAT("smooth camera"), 'C');