hedgewars/uKeys.pas
changeset 6444 eddc1e9bcd81
parent 6216 a6186a8ba90a
child 6497 2359798a8dce
--- a/hedgewars/uKeys.pas	Sat Nov 26 21:12:23 2011 +0300
+++ b/hedgewars/uKeys.pas	Sun Nov 27 00:25:28 2011 +0300
@@ -147,7 +147,7 @@
     if (tkbd[i] = 0) and (tkbdn[i] <> 0) then
          begin
          ParseCommand(CurrentBinds[i], Trusted);
-         if (CurrentTeam <> nil) and not CurrentTeam^.ExtDriven and (ReadyTimeLeft > 1) then ParseCommand('gencmd R', true)
+         if (CurrentTeam <> nil) and (not CurrentTeam^.ExtDriven) and (ReadyTimeLeft > 1) then ParseCommand('gencmd R', true)
          end
     else if (CurrentBinds[i][1] = '+')
             and (tkbdn[i] = 0)
@@ -156,7 +156,7 @@
             s:= CurrentBinds[i];
             s[1]:= '-';
             ParseCommand(s, Trusted);
-            if (CurrentTeam <> nil) and not CurrentTeam^.ExtDriven and (ReadyTimeLeft > 1) then ParseCommand('gencmd R', true)
+            if (CurrentTeam <> nil) and (not CurrentTeam^.ExtDriven) and (ReadyTimeLeft > 1) then ParseCommand('gencmd R', true)
             end;
     tkbd[i]:= tkbdn[i]
     end