# HG changeset patch # User unc0rr # Date 1400089302 -14400 # Node ID 9a3ba4e76e3829d7d6098f6de8118f8b4d8355f4 # Parent 0ab0d7fa1c62dcf66bb4dcc76fc44c72f5aea037 Small optimization (no need to draw last point of the path) diff -r 0ab0d7fa1c62 -r 9a3ba4e76e38 hedgewars/uLandPainted.pas --- a/hedgewars/uLandPainted.pas Wed May 14 01:12:21 2014 +0400 +++ b/hedgewars/uLandPainted.pas Wed May 14 21:41:42 2014 +0400 @@ -111,7 +111,6 @@ begin AddFileLog('[DRAW] Line to: ('+inttostr(pe^.point.X)+','+inttostr(pe^.point.Y)+'), radius = '+inttostr(radius)); DrawThickLine(prevPoint.X, prevPoint.Y, pe^.point.X, pe^.point.Y, radius, color); - FillRoundInLand(pe^.point.X, pe^.point.Y, radius, color) end; prevPoint:= pe^.point;