anims:: clear lastticks when recording

This commit is contained in:
Zeno Rogue 2018-11-11 16:35:27 +01:00
parent 5fe87e140f
commit d2be826e8b
1 changed files with 1 additions and 0 deletions

View File

@ -529,6 +529,7 @@ void rollback() {
string animfile = "animation-%04d.png";
bool record_animation() {
lastticks = 0;
for(int i=0; i<noframes; i++) {
ticks = i * period / noframes;
apply();