1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

anims:: calling conformal::apply() correctly

This commit is contained in:
Zeno Rogue 2018-10-28 02:16:22 +01:00
parent 6f0cdea2fc
commit 2ffcd47150

View File

@ -561,6 +561,8 @@ string animfile = "animation-%04d.png";
bool record_animation() {
for(int i=0; i<noframes; i++) {
ticks = i * period / noframes;
apply();
conformal::configure();
if(conformal::on) {
conformal::phase = isize(conformal::v) * i * 1. / noframes;
conformal::movetophase();
@ -568,7 +570,6 @@ bool record_animation() {
char buf[1000];
snprintf(buf, 1000, animfile.c_str(), i);
apply();
saveHighQualityShot(buf);
rollback();
}