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:
parent
9bcd0be3f3
commit
461025ca8f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user