hedgewars/uGearsUtils.pas
changeset 11827 4600dcb9db4f
parent 11756 20e0a72e0e2c
child 11852 38e7206a5df4
--- a/hedgewars/uGearsUtils.pas	Sun May 15 13:18:34 2016 +0200
+++ b/hedgewars/uGearsUtils.pas	Sun May 15 14:29:37 2016 +0300
@@ -274,8 +274,7 @@
                     // was considering pulsing on attack, Tiy thinks it should be permanent while in play
                     //CurrentHedgehog^.Gear^.State:= CurrentHedgehog^.Gear^.State or gstVampiric;
                     inc(CurrentHedgehog^.Gear^.Health,vampDmg);
-                    str(vampDmg, s);
-                    s:= '+' + s;
+                    s:= '+' + IntToStr(vampDmg);
                     AddCaption(ansistring(s), CurrentHedgehog^.Team^.Clan^.Color, capgrpAmmoinfo);
                     RenderHealth(CurrentHedgehog^);
                     RecountTeamHealth(CurrentHedgehog^.Team);