Keyon Dooling forced a second overtime with a running layup, and the Miami Heat took advantage by scoring the first seven points of the extra session to beat the Milwaukee Bucks 112-110 on Sunday.
Shaquille O'Neal had his third straight double-double, finishing with 19 points and 18 rebounds for Miami, which snapped a two-game losing streak in dramatic fashion.
Keith Van Horn scored eight points in the first overtime, including 3-pointers on consecutive trips. When Michael Redd hit a jumper from the top of the key with 11.7 seconds left, the Bucks were up four and seemingly poised to win their fourth straight.
But after Eddie Jones scored to cut the lead to 105-103, Van Horn gave the Heat their biggest break, dropping a pass and knocking the ball out of bounds with 5.7 seconds left. Dooling took the inbounds pass, raced the length of the floor and dropped in a layup with 1.4 seconds left to tie it.
Van Horn -- who led all scorers with 26 points -- had a chance to atone for his miscue, but his straightaway 3-pointer with one second left in the game came up short. Redd had 21, and Maurice Williams added 18 points and 10 assists for Milwaukee.
Eddie Jones had 19 points for Miami, which also got 17 from Rasual Butler and 14 apiece from Udonis Haslem and Damon Jones.
Mavericks 122, Wizards 113
At Washington, Dirk Nowitzki had 32 points, 13 rebounds and five assists to lead the Dallas Mavericks over the Washington Wizards.
Former Wizard Jerry Stackhouse added 28 points, including three 3-pointers during a 23-6 run in the fourth quarter that helped Dallas break open a close game.
Four Washington players scored at least 20 points. Former Maverick Antawn Jamison and Larry Hughes each had 23 points and Gilbert Arenas and Brendan Haywood added 20 apiece.
Arenas also had nine assists as Washington became the first team to score at least 100 points this season against Dallas, a team not generally known for its defensive prowess.
Jason Terry, the Mavericks' other sixth man, had 13 points and 11 assists. The Mavericks' reserves countered Washington's quartet of 20-point scorers by outscoring the Wizards' 50-13.
76ers 96, Magic 87
At Philadelphia, Allen Iverson had 29 points and 12 assists, and Marc Jackson added 13 points to lead the Philadelphia 76ers over the Orlando Magic.
The Sixers have won the first three games on a season-long five-game homestand, though this was the first one they wrapped up in regulation.
After sending a game against New Jersey into overtime on a basket in the final seconds, then winning a game against Indiana with a shot at the buzzer, Iverson finished this one off early.
He had five assists in the third quarter, including two straight -- on baskets to Jackson and Andre Iguodala -- that snapped a tie game and led a decisive 17-9 run.
Grant Hill led the Magic with 18 points, Pat Garrity added 14.
Kings 101, Nuggets 89
In Sacramento, California, Brad Miller scored 26 points and grabbed nine rebounds, helping Sacramento defeat Denver.
Miller made 7 of 8 shots from the field -- including both 3-point attempts -- and 10 of 11 free throws. Sacramento has won two straight following a 1-4 start.
Carmelo Anthony had 28 points and six rebounds for Denver.
Peja Stojakovic had 22 points, Mike Bibby scored 20, and Darius Songaila added 10 for the Kings.