rv::playing-with-impossibility:: loop_multiplier taken into account

This commit is contained in:
Zeno Rogue 2022-04-12 13:03:24 +02:00
parent 461025ca8f
commit f7f0a0ea02
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ void nil_screen(presmode mode, int id) {
ld t = 1e-3;
if(id == 2) {
t = ticks / 1000.;
t = inHighQual ? ticks * anims::loop_multiplier * 4. / anims::period : ticks / 1000.;
if(t - floor(t) > .5) t = ceil(t);
else t = floor(t) + 2 * (t - floor(t));
t -= floor(t/4)*4;