hedgewars/GSHandlers.inc
changeset 3455 f33e7ad2261c
parent 3454 a9bef74bd6e0
child 3460 d957d5f7b58d
--- a/hedgewars/GSHandlers.inc	Mon May 10 04:41:19 2010 +0000
+++ b/hedgewars/GSHandlers.inc	Mon May 10 04:43:07 2010 +0000
@@ -2979,14 +2979,8 @@
         end;
     end;
 
-    if HHGear^.Message and (gm_Up or gm_Precise or gm_Left or gm_Right) <> 0 then Gear^.State := 
-                                                                                                Gear
-                                                                                                 ^.
-                                                                                               State
-                                                                                                 and
-                                                                                                 not
-                                                                                          gsttmpFlag
-    ;
+    if HHGear^.Message and (gm_Up or gm_Precise or gm_Left or gm_Right) <> 0 then 
+        Gear^.State := Gear^.State and not gsttmpFlag;
     HHGear^.Message := HHGear^.Message and not (gm_Up or gm_Precise or gm_Left or gm_Right);
     HHGear^.State := HHGear^.State or gstMoving;