Figured out the crash, but want to see what valgrind would say.

This commit is contained in:
Zed A. Shaw 2026-02-12 12:59:35 -05:00
parent aaf5aa4165
commit 0e8b661273
7 changed files with 30 additions and 15 deletions

View file

@ -86,7 +86,11 @@ namespace animate2 {
} else {
sequence.timer.restart();
sequence.current++;
if(sequence.subframe > SUB_FRAME_SENSITIVITY) sequence.subframe = 0.0f;
if(sequence.subframe > SUB_FRAME_SENSITIVITY) {
sequence.subframe = 0.0f;
}
frame_change = true;
}