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

rv::simple-impossible:: loop_multiplier taken into account

This commit is contained in:
Zeno Rogue 2022-04-12 13:02:41 +02:00
parent 9bcd0be3f3
commit 461025ca8f

View File

@ -378,7 +378,7 @@ void enable() {
rogueviz::rv_hook(anims::hooks_anim, 100, [] { rogueviz::rv_hook(anims::hooks_anim, 100, [] {
if(!animation) return; if(!animation) return;
ld t = ticks * 1. / anims::period; ld t = ticks * 1. * anims::loop_multiplier / anims::period;
t *= isize(path); t *= isize(path);
hyperpoint at = interp(t); hyperpoint at = interp(t);