pull in neglected fix
authornemo
Sun, 06 Aug 2023 18:24:39 -0400
changeset 16002 2d9d07ccb8ef
parent 16001 cee831693af1 (current diff)
parent 15936 303cf91e5233 (diff)
child 16003 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;