Reslyling: little fix of previous commit
authormbait
Mon, 10 May 2010 04:43:07 +0000
changeset 3455 f33e7ad2261c
parent 3454 a9bef74bd6e0
child 3456 e19e017691e4
Reslyling: little fix of previous commit
hedgewars/GSHandlers.inc
--- 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;