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.
--- 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;
Binary file share/hedgewars/Data/Graphics/Hedgehog/Idle.png has changed