author | Wuzzy <Wuzzy2@mail.ru> |
Sun, 07 Apr 2019 20:53:29 +0200 | |
changeset 14759 | b39da9cf7616 |
parent 14758 | 168be33c099a |
child 14760 | 21abb4e4ca9f |
--- a/hedgewars/uScript.pas Sun Apr 07 20:03:09 2019 +0200 +++ b/hedgewars/uScript.pas Sun Apr 07 20:53:29 2019 +0200 @@ -1865,9 +1865,9 @@ gear^.Health:= 0; RenderHealth(gear^.Hedgehog^); RecountTeamHealth(gear^.Hedgehog^.Team) - end; - // Why did this do a "setalltoactive" ? - //SetAllToActive; + end + else if (gear^.RenderHealth) and (gear^.Tex <> nil) then + FreeAndNilTexture(gear^.Tex); Gear^.Active:= true; AllInactive:= false end