An open-flame heater placed under a vehicle's hood caused a fire that resulted in a total loss Thursday night, according to the Madison Fire Department.