Don't render barrel health after loading savegame
authorWuzzy <Wuzzy2@mail.ru>
Sun, 07 Apr 2019 20:03:09 +0200
changeset 14758 168be33c099a
parent 14757 56098968df90
child 14759 b39da9cf7616
Don't render barrel health after loading savegame
hedgewars/uGearsList.pas
--- a/hedgewars/uGearsList.pas	Sun Apr 07 20:01:02 2019 +0200
+++ b/hedgewars/uGearsList.pas	Sun Apr 07 20:03:09 2019 +0200
@@ -496,7 +496,7 @@
                 end;
   gtExplosives: begin
                 gear^.AdvBounce:= 1;
-                if GameType in [gmtDemo, gmtSave, gmtRecord] then
+                if GameType in [gmtDemo, gmtRecord] then
                     gear^.RenderHealth:= true;
                 gear^.ImpactSound:= sndGrenadeImpact;
                 gear^.nImpactSounds:= 1;