mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 11:28:17 +00:00
Update core_automation_events.c
This commit is contained in:
@@ -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++;
|
||||||
|
Reference in New Issue
Block a user