hedgewars/uGearsHedgehog.pas
changeset 15399 b7e40129dbdb
parent 15151 6b7d92fa4912
--- a/hedgewars/uGearsHedgehog.pas	Wed Sep 04 00:07:23 2019 +0300
+++ b/hedgewars/uGearsHedgehog.pas	Wed Sep 04 23:23:23 2019 +0200
@@ -916,10 +916,10 @@
 		Gear^.PortalCounter:= 0;
     PrevdX:= hwSign(Gear^.dX);
     if (Gear^.Message and gmLeft  )<>0 then
-        Gear^.dX:= -cLittle else
+        Gear^.dX:= -_0 else
     if (Gear^.Message and gmRight )<>0 then
-        Gear^.dX:=  cLittle
-        else exit;
+        Gear^.dX:=  _0
+    else exit;
 
     StepSoundTimer:= cHHStepTicks;