offset graves
authornemo
Sun, 11 Apr 2010 01:04:54 +0000
changeset 3334 f94a52a763d4
parent 3333 560e2766c445
child 3335 2520ee7a5484
offset graves
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Sat Apr 10 21:36:40 2010 +0000
+++ b/hedgewars/uGears.pas	Sun Apr 11 01:04:54 2010 +0000
@@ -1659,7 +1659,7 @@
 
        gtHealthTag: if Gear^.Tex <> nil then DrawCentered(hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, Gear^.Tex);
 
-           gtGrave: DrawTextureF(PHedgehog(Gear^.Hedgehog)^.Team^.GraveTex, 1, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, (GameTicks shr 7) and 7, 1, 32, 32);
+           gtGrave: DrawTextureF(PHedgehog(Gear^.Hedgehog)^.Team^.GraveTex, 1, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, (GameTicks shr 7+Gear^.uid) and 7, 1, 32, 32);
 
              gtBee: DrawRotatedF(sprBee, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, (GameTicks shr 5) mod 2, 0, DxDy2Angle(Gear^.dY, Gear^.dX));