hedgewars/uFloat.pas
changeset 7525 5c840e221993
parent 7515 8957b05d368a
child 7593 b966e2d833f2
--- a/hedgewars/uFloat.pas	Mon Aug 06 00:44:32 2012 +0400
+++ b/hedgewars/uFloat.pas	Thu Aug 09 01:01:06 2012 +0400
@@ -369,7 +369,7 @@
 function hwPow(const t: hwFloat;p: LongWord): hwFloat;
 begin
 hwPow:= t;
-if p mod 2 = 0 then hwPow.isNegative:= t.isNegative;
+if p mod 2 = 0 then hwPow.isNegative:= false;
 
 while p > 0 do
     begin