Oladipo spurs Magic to 112-98 win over Pistons