hedgewars/uGears.pas
changeset 2388 76ccf12faf22
parent 2376 ece7b87f1334
child 2389 bc3e45a4d5fb
--- a/hedgewars/uGears.pas	Thu Sep 17 06:37:24 2009 +0000
+++ b/hedgewars/uGears.pas	Tue Sep 22 15:42:19 2009 +0000
@@ -372,7 +372,8 @@
                 Result^.Radius:= 7;
                 Result^.Z:= cOnHHZ;
                 Result^.RenderTimer:= true;
-                if hwSign(dX) > 0 then Result^.Angle:= 1 else Result^.Angle:= 3
+                Result^.dX.QWordValue:= 1;
+                if not dX.isNegative then Result^.Angle:= 1 else Result^.Angle:= 3
                 end;
  gtHellishBomb: begin
                 Result^.Radius:= 4;