mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-08 09:42:59 +00:00
anims:: clear lastticks when recording
This commit is contained in:
@@ -529,6 +529,7 @@ void rollback() {
|
|||||||
string animfile = "animation-%04d.png";
|
string animfile = "animation-%04d.png";
|
||||||
|
|
||||||
bool record_animation() {
|
bool record_animation() {
|
||||||
|
lastticks = 0;
|
||||||
for(int i=0; i<noframes; i++) {
|
for(int i=0; i<noframes; i++) {
|
||||||
ticks = i * period / noframes;
|
ticks = i * period / noframes;
|
||||||
apply();
|
apply();
|
||||||
|
|||||||
Reference in New Issue
Block a user