# HG changeset patch # User nemo # Date 1414248150 14400 # Node ID d2f599997b54c43848cb895404c973b0d607422d # Parent 7de934f2247c85a00e9982a47eca9c85fe2e89df Revert hog tinting from rdb65298717da since it wasn't sufficiently complete for a release. More sprites need converting, and there's a slight bug in hog tinting, for away hogs with hats I believe. diff -r 7de934f2247c -r d2f599997b54 hedgewars/uGearsRender.pas --- a/hedgewars/uGearsRender.pas Mon Oct 20 19:50:46 2014 +0200 +++ b/hedgewars/uGearsRender.pas Sat Oct 25 10:42:30 2014 -0400 @@ -810,24 +810,13 @@ begin if defaultPos then begin - if HH^.Team^.hasGone then - Tint($FFFFFF80) - else if HH^.Effects[hePoisoned] <> 0 then - Tint($B7FFBCFF) - else Tint(HH^.Gear^.Tint); + if HH^.Team^.hasGone then Tint($FFFFFF80); DrawSpriteRotatedF(sprHHIdle, sx, sy, (RealTicks div 128 + Gear^.Pos) mod 19, sign, 0); - untint; - DrawSpriteRotatedF(sprHHIdle, - sx, - sy, - (RealTicks div 128 + Gear^.Pos) mod 19 + 32, - sign, - 0); HatVisible:= true; end; diff -r 7de934f2247c -r d2f599997b54 share/hedgewars/Data/Graphics/Hedgehog/Idle.png Binary file share/hedgewars/Data/Graphics/Hedgehog/Idle.png has changed