hedgewars/uFloat.pas
changeset 7515 8957b05d368a
parent 7043 7c080e5ac8d0
child 7593 b966e2d833f2
--- a/hedgewars/uFloat.pas	Tue Aug 07 21:18:33 2012 +0400
+++ b/hedgewars/uFloat.pas	Tue Aug 07 13:21:15 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