hedgewars/uFloat.pas
branchhedgeroid
changeset 5665 8805f3167058
parent 5599 2e4b90f33a83
child 5932 5164d17b6374
--- a/hedgewars/uFloat.pas	Fri Aug 26 21:03:23 2011 +0200
+++ b/hedgewars/uFloat.pas	Sun Aug 28 17:42:32 2011 +0200
@@ -203,9 +203,7 @@
 
 operator = (const z1, z2: hwFloat) z:boolean; inline;
 begin
-    z:= true;
-    z:= z and (z1.isNegative = z2.isNegative);
-    z:= z and (z1.QWordValue = z2.QWordValue);
+    z:= (z1.isNegative = z2.isNegative) and (z1.QWordValue = z2.QWordValue);
 end;