From 99696df8d39203e11a458cf820b498820107dd76 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 12 Jun 2007 12:32:01 +0200 Subject: [PATCH] * Increase the maximum FPS again to 20 FPS. --- ABM2/Engine/Kernel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ABM2/Engine/Kernel.cpp b/ABM2/Engine/Kernel.cpp index 581b963..2a2f1a2 100755 --- a/ABM2/Engine/Kernel.cpp +++ b/ABM2/Engine/Kernel.cpp @@ -56,8 +56,8 @@ int CKernel::Execute() IMMObject::CollectGarbage(); DWORD end_point = GetTickCount(); /* Sleep if we didn't use up too much time already */ - if (starting_point + 250 > end_point) - Sleep(250 - (end_point-starting_point)); + if (starting_point + 50 > end_point) + Sleep(50 - (end_point-starting_point)); } #ifdef _DEBUG CProfileSample::Output(); -- 2.30.2