1 of 6
Reinhold Matay, Associated Press
Orlando Magic power forward Glen Davis (11) shoots over Miami Heat center Mickell Gladness, far right, and Dwyane Wade (3) during the first half of an NBA preseason basketball game, Wednesday, Dec. 21, 2011, in Orlando, Fla.

ORLANDO, Fla. — Glen Davis had 18 points, Dwight Howard and Jason Richardson each added 15 and the Orlando Magic overcame a 14-point halftime deficit to beat the Miami Heat 104-100 on Wednesday night in the preseason finale for both teams.

Davis had a 13-point third quarter to help ignite the comeback and Orlando got a late lift from its reserves to secure the win, including strong fourth-quarter efforts by veteran Larry Hughes and rookie Justin Harper.

LeBron James had 27 points and Dwyane Wade added 21 for the Heat. Reserve Norris Cole chipped in 11 points.

Both teams open the regular season as part of the NBA's four-game Christmas Day schedule.

Miami travels to defending champion Dallas for a finals rematch and Oklahoma City hosts the Magic.