hedgewars/uInputHandler.pas
branchwebgl
changeset 9954 bf51bc7e2808
parent 9950 2759212a27de
child 10015 4feced261c68
--- a/hedgewars/uInputHandler.pas	Sun Jan 05 00:46:26 2014 +0400
+++ b/hedgewars/uInputHandler.pas	Sun Jan 05 10:54:03 2014 +0400
@@ -183,7 +183,7 @@
     else if (CurrentBinds[code][1] = '+') then
         begin
         if CurrentBinds[code] = '+precise' then
-            LocalMessage:= LocalMessage and not(gmPrecise);
+            LocalMessage:= LocalMessage and (not gmPrecise);
         s:= CurrentBinds[code];
         s[1]:= '-';
         ParseCommand(s, Trusted);
@@ -193,7 +193,7 @@
     else
         begin
         if CurrentBinds[code] = 'switch' then
-            LocalMessage:= LocalMessage and not(gmSwitch)
+            LocalMessage:= LocalMessage and (not gmSwitch)
         end
     end
 end;