hedgewars/uGearsRender.pas
changeset 7337 c224cd2d32f3
parent 7276 e570bc0df33c
child 7339 5984b749ad9b
--- a/hedgewars/uGearsRender.pas	Tue Jul 03 22:44:50 2012 +0400
+++ b/hedgewars/uGearsRender.pas	Wed Jul 04 10:56:42 2012 -0400
@@ -1015,7 +1015,7 @@
                             DrawSprite(sprUtility, x - 24, y - 24, i);
                             end;
                         end;
-                    if Gear^.Timer <= 1833 then
+                    if Gear^.Timer < 1833 then
                         begin
                         DrawTextureRotatedF(SpritesData[sprPortal].texture, min(abs(1.25 - (Gear^.Timer mod 1333) / 400), 1.25), 0, 0,
                                             Gear^.Angle+WorldDx, Gear^.Power+WorldDy-16, 4+Gear^.Tag, 1, 32, 32, 270);