hedgewars/uAIMisc.pas
changeset 3894 9abce5468583
parent 3697 d5b30d6373fc
child 4357 a1fcfc341a52
--- a/hedgewars/uAIMisc.pas	Wed Sep 22 21:47:28 2010 +0200
+++ b/hedgewars/uAIMisc.pas	Wed Sep 22 21:53:29 2010 +0200
@@ -404,8 +404,8 @@
       end;
    continue
    end;
-   if (Gear^.Message and gm_Left  )<>0 then Gear^.dX:= -cLittle else
-   if (Gear^.Message and gm_Right )<>0 then Gear^.dX:=  cLittle else exit(bRes);
+   if (Gear^.Message and gmLeft  )<>0 then Gear^.dX:= -cLittle else
+   if (Gear^.Message and gmRight )<>0 then Gear^.dX:=  cLittle else exit(bRes);
    if TestCollisionXwithGear(Gear, hwSign(Gear^.dX)) then
       begin
       if not (TestCollisionXwithXYShift(Gear, _0, -6, hwSign(Gear^.dX))