allow longer grave animations
authornemo
Wed, 09 Nov 2016 11:21:14 -0500
changeset 11876 ed98962b45c0
parent 11875 d669f04f02d0
child 11877 95a3041aadb9
allow longer grave animations
hedgewars/uGearsRender.pas
--- a/hedgewars/uGearsRender.pas	Sat Oct 15 20:54:30 2016 +0200
+++ b/hedgewars/uGearsRender.pas	Wed Nov 09 11:21:14 2016 -0500
@@ -1168,7 +1168,7 @@
            gtShell: DrawSpriteRotated(sprBazookaShell, x, y, 0, DxDy2Angle(Gear^.dY, Gear^.dX));
 
            gtGrave: begin
-                    DrawTextureF(Gear^.Hedgehog^.Team^.GraveTex, 1, x, y, (GameTicks shr 7+Gear^.uid) and 7, 1, 32, 32);
+                    DrawTextureF(Gear^.Hedgehog^.Team^.GraveTex, 1, x, y, (GameTicks shr 7+Gear^.uid) and 15, 1, 32, 32);
                     if Gear^.Health > 0 then
                         begin
                         //Tint($33, $33, $FF, max($40, round($FF * abs(1 - (GameTicks mod (6000 div Gear^.Health)) / 750))));