Update core_automation_events.c

This commit is contained in:
Ray 2023-10-27 00:50:02 +02:00
parent 654b4e6257
commit 98fcbe3fe2

View file

@ -241,7 +241,8 @@ int main(void)
if (eventPlaying) 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]); PlayAutomationEvent(aelist.events[currentPlayFrame]);
currentPlayFrame++; currentPlayFrame++;