Browse Source

Update core_automation_events.c

pull/3472/head
Ray 1 year ago
parent
commit
98fcbe3fe2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      examples/core/core_automation_events.c

+ 2
- 1
examples/core/core_automation_events.c View File

@ -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++;

Loading…
Cancel
Save