--- a/hedgewars/uGearsRender.pas Wed Dec 22 00:58:00 2010 -0500
+++ b/hedgewars/uGearsRender.pas Wed Dec 22 01:11:48 2010 -0500
@@ -1017,12 +1017,15 @@
Tint($FF, $FF, $FF, $FF);
end;
gtNapalmBomb: DrawRotated(sprNapalmBomb, x, y, 0, DxDy2Angle(Gear^.dY, Gear^.dX));
- gtFlake: if vobVelocity = 0 then
- //DrawSprite(sprFlake, x-SpritesData[sprFlake].Width div 2, y-SpritesData[sprFlake].Height div 2, Gear^.Timer)
- DrawSprite(sprFlake, x, y, Gear^.Timer)
- else
- //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);
+ gtFlake: if not isInLag then
+ begin
+ if vobVelocity = 0 then
+ //DrawSprite(sprFlake, x-SpritesData[sprFlake].Width div 2, y-SpritesData[sprFlake].Height div 2, Gear^.Timer)
+ DrawSprite(sprFlake, x, y, Gear^.Timer)
+ else
+ //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;
end;
if Gear^.RenderTimer and (Gear^.Tex <> nil) then DrawCentered(x + 8, y + 8, Gear^.Tex);