remove floating point/rounding
authornemo
Fri, 12 Nov 2010 12:21:40 -0500
changeset 4256 e78cb3eb228e
parent 4254 47515c926984
child 4258 1766fbab35d8
remove floating point/rounding
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Fri Nov 12 12:20:50 2010 -0500
+++ b/hedgewars/GSHandlers.inc	Fri Nov 12 12:21:40 2010 -0500
@@ -4043,7 +4043,7 @@
         end
     else
         begin
-        i:= round(Gear^.Health / 5);
+        i:= Gear^.Health div 5;
         if i <> Gear^.Tag then
             begin
             Gear^.Tag:= i;