hedgewars/uGearsRender.pas
changeset 13399 3d6aae2ae698
parent 13328 2489c36c61b7
child 13404 8ce83caec236
--- a/hedgewars/uGearsRender.pas	Tue May 22 17:54:07 2018 -0400
+++ b/hedgewars/uGearsRender.pas	Wed May 23 20:45:42 2018 -0400
@@ -1289,9 +1289,9 @@
                        DrawSpriteRotated(sprMineOn, x, y, 0, Gear^.DirAngle)
                     else DrawSpriteRotated(sprMineDead, x, y, 0, Gear^.DirAngle);
                     end;
-         gtAirMine: if Gear^.State and gstTmpFlag = 0 then                // mine is inactive
+         gtAirMine: if (Gear^.State and gstTmpFlag = 0) or (Gear^.State and gstFrozen <> 0) then                // mine is inactive
                         begin
-                        Tint(150,150,150,255);
+						if (Gear^.State and gstTmpFlag = 0) then Tint(150,150,150,255);
                         DrawSprite(sprAirMine, x-16, y-16, 15);
                         untint
                         end