simulate CA on every step if animating
This commit is contained in:
parent
6619586efa
commit
493be6c55b
|
@ -779,6 +779,7 @@ bool record_animation() {
|
||||||
int newticks = i * period / noframes;
|
int newticks = i * period / noframes;
|
||||||
cmode = (env_shmup ? sm::NORMAL : 0);
|
cmode = (env_shmup ? sm::NORMAL : 0);
|
||||||
while(ticks < newticks) shmup::turn(1), ticks++;
|
while(ticks < newticks) shmup::turn(1), ticks++;
|
||||||
|
ca::simulate();
|
||||||
if(playermoved) centerpc(INF), optimizeview();
|
if(playermoved) centerpc(INF), optimizeview();
|
||||||
dynamicval<bool> v2(inHighQual, true);
|
dynamicval<bool> v2(inHighQual, true);
|
||||||
apply();
|
apply();
|
||||||
|
|
Loading…
Reference in New Issue