diff -r 76ccf12faf22 -r bc3e45a4d5fb hedgewars/uMisc.pas --- 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;