diff -r 803b277e4894 -r 3f21a9dc93d0 hedgewars/uFloat.pas --- a/hedgewars/uFloat.pas Sat Mar 06 10:54:24 2010 +0000 +++ b/hedgewars/uFloat.pas Sat Mar 06 10:59:20 2010 +0000 @@ -291,9 +291,9 @@ begin hwSqr.isNegative:= false; hwSqr.QWordValue:= - ((QWord(t.Round) * t.Round) shl 32) - + QWord(t.Round) * t.Frac * 2 - + ((QWord(t.Frac) * t.Frac) shr 32); + ((QWord(t.Round) * t.Round) shl 32) + + QWord(t.Round) * t.Frac * 2 + + ((QWord(t.Frac) * t.Frac) shr 32); end; function hwSqrt(const t: hwFloat): hwFloat;