diff options
Diffstat (limited to 'examples/core')
| -rw-r--r-- | examples/core/core_automation_events.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/core/core_automation_events.c b/examples/core/core_automation_events.c index c35ce485..adea0e88 100644 --- a/examples/core/core_automation_events.c +++ b/examples/core/core_automation_events.c @@ -241,7 +241,8 @@ int main(void) if (eventPlaying) { - if (playFrameCounter >= aelist.events[currentPlayFrame].frame) + // NOTE: Multiple events could be executed in a single frame + while (playFrameCounter == aelist.events[currentPlayFrame].frame) { PlayAutomationEvent(aelist.events[currentPlayFrame]); currentPlayFrame++; |
