* Increase the maximum FPS again to 20 FPS. linux
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Tue, 12 Jun 2007 10:32:01 +0000 (12:32 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Tue, 12 Jun 2007 10:32:01 +0000 (12:32 +0200)
ABM2/Engine/Kernel.cpp

index 581b96370d7575914071f944d35376e0ae2f34ec..2a2f1a2507934b96104e64e6eade3a9377b8a463 100755 (executable)
@@ -56,8 +56,8 @@ int CKernel::Execute()
                        IMMObject::CollectGarbage();\r
                        DWORD end_point = GetTickCount();\r
                        /* Sleep if we didn't use up too much time already */\r
-                       if (starting_point + 250 > end_point)\r
-                               Sleep(250 - (end_point-starting_point));\r
+                       if (starting_point + 50 > end_point)\r
+                               Sleep(50 - (end_point-starting_point));\r
                }\r
 #ifdef _DEBUG\r
                CProfileSample::Output();\r