hedgewars/uGearsRender.pas
changeset 4883 7cddc9201a1d
parent 4881 35e6269227b6
child 4913 f0d48df35f86
--- a/hedgewars/uGearsRender.pas	Sat Jan 29 14:54:08 2011 -0500
+++ b/hedgewars/uGearsRender.pas	Sat Jan 29 21:16:09 2011 +0100
@@ -944,7 +944,6 @@
                     DrawRotatedF(sprTeleport, hwRound(HHGear^.X) + 1 + WorldDx, hwRound(HHGear^.Y) - 3 + WorldDy, 11 - Gear^.Pos, hwSign(HHGear^.dX), 0);
                     end;
         gtSwitcher: DrawSprite(sprSwitch, x - 16, y - 56, (GameTicks shr 6) mod 12);
-       gtStructure,
           gtTarget: begin
                     Tint($FF, $FF, $FF, round($FF * Gear^.Timer / 1000));
                     DrawSprite(sprTarget, x - 16, y - 16, 0);
@@ -1025,6 +1024,7 @@
                       //DrawRotatedF(sprFlake, x-SpritesData[sprFlake].Width div 2, y-SpritesData[sprFlake].Height div 2, Gear^.Timer, 1, Gear^.DirAngle);
                       DrawRotatedF(sprFlake, x, y, Gear^.Timer, 1, Gear^.DirAngle)
                   end;
+       gtStructure: DrawSprite(sprTarget, x - 16, y - 16, 0);
 
          end;
       if Gear^.RenderTimer and (Gear^.Tex <> nil) then DrawCentered(x + 8, y + 8, Gear^.Tex);