1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

simulate CA on every step if animating

This commit is contained in:
Zeno Rogue 2020-04-12 20:35:16 +02:00
parent 6619586efa
commit 493be6c55b

View File

@ -779,6 +779,7 @@ bool record_animation() {
int newticks = i * period / noframes;
cmode = (env_shmup ? sm::NORMAL : 0);
while(ticks < newticks) shmup::turn(1), ticks++;
ca::simulate();
if(playermoved) centerpc(INF), optimizeview();
dynamicval<bool> v2(inHighQual, true);
apply();