pull in neglected fix
authornemo
Sun, 06 Aug 2023 18:24:39 -0400
changeset 15973 2d9d07ccb8ef
parent 15971 cee831693af1 (current diff)
parent 15972 303cf91e5233 (diff)
child 15974 8bb07b0f50ca
pull in neglected fix
--- a/hedgewars/uGears.pas	Mon Jul 24 20:02:18 2023 +0200
+++ b/hedgewars/uGears.pas	Sun Aug 06 18:24:39 2023 -0400
@@ -288,6 +288,7 @@
                             curHandledGear^.Tex:= RenderStringTex(trmsg[sidUnknownGearValue], $ff808080, fntSmall)
                         else
                             begin
+                            FreeAndNilTexture(curHandledGear^.Tex);
                             // Display mine timer with up to 1 decimal point of precision (rounded down)
                             i:= curHandledGear^.Timer div 1000;
                             j:= (curHandledGear^.Timer mod 1000) div 100;