Don't render barrel health after loading savegame
authorWuzzy <Wuzzy2@mail.ru>
Sun, 07 Apr 2019 20:03:09 +0200
changeset 14753 168be33c099a
parent 14752 56098968df90
child 14754 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;