At mikade's request and w/ unc0rr's blessing, dramatically slash inactivity delay from 1.25s down to a tenth of a second.
authornemo
Thu, 23 Jun 2011 15:08:19 -0400
changeset 5296 0bb518ad2da8
parent 5294 67278f1cba2c
child 5298 abee9fb11b33
child 5341 479b4108789a
At mikade's request and w/ unc0rr's blessing, dramatically slash inactivity delay from 1.25s down to a tenth of a second.
hedgewars/uGears.pas
hedgewars/uVariables.pas
--- a/hedgewars/uGears.pas	Thu Jun 23 21:19:43 2011 +0400
+++ b/hedgewars/uGears.pas	Thu Jun 23 15:08:19 2011 -0400
@@ -902,7 +902,7 @@
 else if ((GameFlags and gfInfAttack) <> 0) then
     begin
     if delay2 = 0 then
-        delay2:= cInactDelay * 4
+        delay2:= cInactDelay * 50
     else
         begin
         dec(delay2);
--- a/hedgewars/uVariables.pas	Thu Jun 23 21:19:43 2011 +0400
+++ b/hedgewars/uVariables.pas	Thu Jun 23 15:08:19 2011 -0400
@@ -2360,7 +2360,7 @@
     cSeed           := '';
     cVolumeDelta    := 0;
     cHasFocus       := true;
-    cInactDelay     := 1250;
+    cInactDelay     := 100;
     ReadyTimeLeft   := 0;
     
     disableLandBack := false;