San Antonio: James Harden had a slam dunk waved off by officials, the first sign that it might not be the Houston Rockets’ night.

Lonnie Walker IV helped make sure of that.

Walker had a career-high 28 points and the San Antonio Spurs overcame Harden’s 50 points by rallying from a late 10-point deficit to beat Houston 135-133 in double overtime on Tuesday night.

Harden played a season-high 49 minutes coming off a 60-point outing Saturday over three quarters against Atlanta, but he was whistled for two charges in the second overtime. The second came against DeMar DeRozan with 0.8 seconds remaining, sealing San Antonio’s victory.

That followed a bizarre moment in the fourth quarter, when officials erased Harden’s dunk with 7:53 remaining and Houston leading 102-89. Officials ruled the ball didn’t clear the cylinder, but crew chief James Capers said after the game that, “in fact it did clear the net and should have been a successful field goal.”