hedgewars/uVisualGears.pas
changeset 841 0700e3d3474d
parent 840 3c0028245ff3
child 853 0b4a23795530
--- a/hedgewars/uVisualGears.pas	Sun Apr 13 12:33:16 2008 +0000
+++ b/hedgewars/uVisualGears.pas	Sun Apr 13 12:45:30 2008 +0000
@@ -156,11 +156,11 @@
       begin
       case Gear^.Kind of
            vgtFlake: if vobVelocity = 0 then
-                        DrawSprite(sprFlake, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, Gear^.Frame, nil)
+                        DrawSprite(sprFlake, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, Gear^.Frame)
                      else
                         DrawRotatedF(sprFlake, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, Gear^.Frame, Gear^.Angle);
 
-           vgtCloud: DrawSprite(sprCloud, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, Gear^.Frame, nil);
+           vgtCloud: DrawSprite(sprCloud, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, Gear^.Frame);
               end;
       Gear:= Gear^.NextGear
       end;