mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 19:07:40 +00:00
line animation records in reverse if lvspeed < 0, and no longer goes to far
This commit is contained in:
@@ -708,7 +708,9 @@ bool record_animation() {
|
||||
apply();
|
||||
conformal::configure();
|
||||
if(conformal::on) {
|
||||
conformal::phase = isize(conformal::v) * i * 1. / noframes;
|
||||
int len = (isize(conformal::v)-1);
|
||||
conformal::phase = len * i * 1. / noframes;
|
||||
if(conformal::lvspeed < 0) conformal::phase = len - conformal::phase;
|
||||
conformal::movetophase();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user