Novak Djokovic overcame injury issues and sweltering heat as he beat Jaume Munar to continue his bid for a fifth Shanghai Masters title.
The 24-time Grand Slam champion appeared to struggle with an ankle injury and called for the trainer on a number of occasions to receive treatment, but persevered to win 6-3 5-7 6-2.
On Sunday Djokovic vomited during his win over Yannick Hanfmann in the previous round, which was played in temperatures of over 30C and 80% humidity.
On Tuesday Djokovic called for a medical timeout after breaking to go 3-1 up in the first set and grimaced as he received treatment to his left ankle.