--- a/hedgewars/uGearsRender.pas Tue Jul 10 11:08:35 2012 +0200
+++ b/hedgewars/uGearsRender.pas Tue Jul 10 11:09:38 2012 +0200
@@ -1013,10 +1013,10 @@
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);
+ x, Gear^.Angle+WorldDy-16, 4+Gear^.Tag, 1, 32, 32, 270);
end
end;
gtExplosives: begin