mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 23:10:26 +00:00
line animations take extra_line_steps into account
This commit is contained in:
parent
7b547a6a77
commit
687b19df43
@ -708,9 +708,10 @@ bool record_animation() {
|
||||
apply();
|
||||
conformal::configure();
|
||||
if(conformal::on) {
|
||||
int len = (isize(conformal::v)-1);
|
||||
conformal::phase = len * i * 1. / noframes;
|
||||
ld len = (isize(conformal::v)-1) + 2 * conformal::extra_line_steps;
|
||||
conformal::phase = len * i / (noframes-1);
|
||||
if(conformal::lvspeed < 0) conformal::phase = len - conformal::phase;
|
||||
conformal::phase -= conformal::extra_line_steps;
|
||||
conformal::movetophase();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user