From 461025ca8f367bba46cb51724b95b7e398558fc2 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 12 Apr 2022 13:02:41 +0200 Subject: [PATCH] rv::simple-impossible:: loop_multiplier taken into account --- rogueviz/simple-impossible.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/simple-impossible.cpp b/rogueviz/simple-impossible.cpp index 57c908de..23f7f314 100644 --- a/rogueviz/simple-impossible.cpp +++ b/rogueviz/simple-impossible.cpp @@ -378,7 +378,7 @@ void enable() { rogueviz::rv_hook(anims::hooks_anim, 100, [] { if(!animation) return; - ld t = ticks * 1. / anims::period; + ld t = ticks * 1. * anims::loop_multiplier / anims::period; t *= isize(path); hyperpoint at = interp(t);