Figured out the crash, but want to see what valgrind would say.
This commit is contained in:
parent
aaf5aa4165
commit
0e8b661273
7 changed files with 30 additions and 15 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue