mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 01:17:39 +00:00
simulate CA on every step if animating
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user