diff -r 4bf039d637df -r de7170e51cc6 hedgewars/GearDrawing.inc --- a/hedgewars/GearDrawing.inc Sat Oct 30 22:53:23 2010 -0400 +++ b/hedgewars/GearDrawing.inc Sat Oct 30 23:50:49 2010 -0400 @@ -278,15 +278,8 @@ defaultPos:= false end; gtResurrector: begin - DrawRotated(sprHandResurrector, hwRound(Gear^.X) + WorldDx, - hwRound(Gear^.Y) + WorldDy, 0, 0); - DrawRotated(sprCross, hwRound(CurAmmoGear^.X) + WorldDx, - hwRound(CurAmmoGear^.Y) + WorldDy + (CurAmmoGear^.Power), 0, 0); - defaultPos := false; - Tint($f5, $db, $35, max($00, floor($C0 * abs(1 - (GameTicks mod 6000) / 3000)))); - DrawTexture(sx - 108, sy - 108 + (CurAmmoGear^.Power), - SpritesData[sprVampiric].Texture, 4.5); - Tint($FF, $FF, $FF, $FF); + DrawRotated(sprHandResurrector, sx, sy, 0, 0); + defaultPos:= false end; gtKamikaze: begin if CurAmmoGear^.Pos = 0 then @@ -865,6 +858,12 @@ DrawRotatedTextureF(SpritesData[sprSmokeWhite].texture, 3, 0, 0, x, y, 0, 1, 22, 22, (RealTicks shr 36 + Gear^.UID * 100) mod 360); Tint($FF, $FF, $FF, $FF) end; + gtResurrector: begin + DrawRotated(sprCross, x, y, 0, 0); + Tint($f5, $db, $35, max($00, floor($C0 * abs(1 - (GameTicks mod 6000) / 3000)))); + DrawTexture(x - 108, y - 108, SpritesData[sprVampiric].Texture, 4.5); + Tint($FF, $FF, $FF, $FF); + end; end; if Gear^.RenderTimer and (Gear^.Tex <> nil) then DrawCentered(x + 8, y + 8, Gear^.Tex); Gear:= Gear^.NextGear