# HG changeset patch
# User nemo
# Date 1313417778 14400
# Node ID a1eb7555f4399a7dfaeea39b25823fcf488a01d7
# Parent  8313952b281119cf78ff5d05d7e0ad42edbeaa67
forgot scale

diff -r 8313952b2811 -r a1eb7555f439 hedgewars/uVisualGears.pas
--- a/hedgewars/uVisualGears.pas	Sun Aug 14 23:52:45 2011 -0400
+++ b/hedgewars/uVisualGears.pas	Mon Aug 15 10:16:18 2011 -0400
@@ -47,7 +47,7 @@
 procedure AddDamageTag(X, Y, Damage, Color: LongWord);
 
 implementation
-uses uSound, uMobile, uVariables, uTextures, uRender, Math, uRenderUtils;
+uses uSound, uMobile, uVariables, uTextures, uRender, Math, uRenderUtils, uStore;
 
 const cExplFrameTicks = 110;
 
@@ -481,7 +481,12 @@
                             begin
                             if Gear^.State = 0 then 
                                 DrawCentered(round(Gear^.X) + WorldDx, round(Gear^.Y) + WorldDy, Gear^.Tex)
-                            else DrawTexture(round(Gear^.X), round(Gear^.Y), Gear^.Tex); 
+                            else
+                                begin 
+                                SetScale(cDefaultZoomLevel); 
+                                DrawTexture(round(Gear^.X), round(Gear^.Y), Gear^.Tex); 
+                                SetScale(zoom)
+                                end
                             end;
 //if Gear^.Tex <> nil then DrawCentered(round(Gear^.X) + WorldDx, round(Gear^.Y) + WorldDy, Gear^.Tex);
             vgtStraightShot: DrawRotatedF(TSprite(Gear^.State), round(Gear^.X) + WorldDx, round(Gear^.Y) + WorldDy, Gear^.Frame, 1, Gear^.Angle);