hedgewars/uGearsRender.pas
changeset 10324 5d90d8ca9657
parent 10313 769061317dc5
child 10390 13bfbade06a5
--- a/hedgewars/uGearsRender.pas	Wed Jun 18 17:36:46 2014 +0400
+++ b/hedgewars/uGearsRender.pas	Wed Jun 18 01:37:28 2014 +0200
@@ -1019,10 +1019,7 @@
         r.y := 96 - iceOffset;
         r.w := 32;
         r.h := iceOffset;
-        if sign = -1 then
-        DrawTextureFromRectDir(sx + sign*2, sy+16-iceoffset, r.w, r.h, @r, HHTexture, sign)
-        else
-        DrawTextureFromRectDir(sx-16 + sign*2, sy+16-iceoffset, r.w, r.h, @r, HHTexture, sign);
+        DrawTextureFromRectDir(sx - 16 + sign*2, sy + 16 - iceoffset, r.w, r.h, @r, HHTexture, sign);
 
 
         if HH^.Effects[heFrozen] < 150000 then