Skip to content

Commit dd0853c

Browse files
committed
first frame fixup?
1 parent b79627c commit dd0853c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Engine/Flc.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ void SDLWaitFrame(void)
424424
Sint32 waitTicks;
425425

426426
currentTick=SDL_GetTicks();
427+
if (oldTick == 0) oldTick = currentTick;
427428
waitTicks=(oldTick+=(flc.HeaderSpeed))-currentTick;
428429

429430
if(waitTicks>0) {

0 commit comments

Comments
 (0)