--- a/hedgewars/GSHandlers.inc Thu Dec 11 18:28:40 2008 +0000
+++ b/hedgewars/GSHandlers.inc Sun Dec 14 13:48:29 2008 +0000
@@ -571,9 +571,9 @@
begin
b:= true;
if Gear^.dX.isNegative then
- HHGear^.Message:= (HHGear^.Message or gm_Left) and not gm_Right
+ HHGear^.Message:= (HHGear^.Message and gm_Attack) or gm_Left
else
- HHGear^.Message:= (HHGear^.Message or gm_Right) and not gm_Left;
+ HHGear^.Message:= (HHGear^.Message and gm_Attack) or gm_Right;
if ((HHGear^.State and gstMoving) = 0) then
begin