--- a/hedgewars/uGears.pas Tue Sep 22 15:42:19 2009 +0000
+++ b/hedgewars/uGears.pas Tue Sep 22 15:48:49 2009 +0000
@@ -372,7 +372,6 @@
Result^.Radius:= 7;
Result^.Z:= cOnHHZ;
Result^.RenderTimer:= true;
- Result^.dX.QWordValue:= 1;
if not dX.isNegative then Result^.Angle:= 1 else Result^.Angle:= 3
end;
gtHellishBomb: begin
--- a/hedgewars/uMisc.pas Tue Sep 22 15:42:19 2009 +0000
+++ b/hedgewars/uMisc.pas Tue Sep 22 15:48:49 2009 +0000
@@ -170,7 +170,8 @@
function hwSign(r: hwFloat): LongInt;
begin
-if r.isNegative and (r.QWordValue > 0) then hwSign:= -1 else hwSign:= 1
+// yes, we have negative zero for a reason
+if r.isNegative then hwSign:= -1 else hwSign:= 1
end;
function Min(a, b: LongInt): LongInt;