From 7b7973c6a7ed4f6c30f16fce633f80fac9769c4e Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 12 Nov 2009 03:14:10 +0000 Subject: [PATCH] - Fixed: The framerate was not capped before starting a game. SVN r1973 (trunk) --- docs/rh-log.txt | 1 + src/d_main.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 0cd8d0b35..4444de5bc 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,5 @@ November 11, 2009 +- Fixed: The framerate was not capped before starting a game. - Removed the one embedded DeHackEd lump restriction. - Fixed: nofreeaim in P_SpawnPlayerMissile() was broken. - Fixed: MBF sky Y offsets were ignored. X offsets should also be applied to diff --git a/src/d_main.cpp b/src/d_main.cpp index a06340f68..9d1f90048 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -860,6 +860,9 @@ void D_DoomLoop () { int lasttic = 0; + // Clamp the timer to TICRATE until the playloop has been entered. + r_NoInterpolate = true; + for (;;) { try