Skip to content

Commit

Permalink
main_sdl.c: override sys_throttle to 0 during timedemo
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/quakespasm/code/trunk@1536 af15c1b1-3010-417e-b628-4374ebc0bcbd
  • Loading branch information
ewasylishen authored and Axel Gneiting committed Nov 17, 2017
1 parent ea84177 commit 4f5ac85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quake/main_sdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ int main(int argc, char *argv[])

Host_Frame (time);

if (time < sys_throttle.value)
if (time < sys_throttle.value && !cls.timedemo)
SDL_Delay(1);

oldtime = newtime;
Expand Down

0 comments on commit 4f5ac85

Please sign in to comment.