A quick-thinking lieutenant moved the engine away from the gas station canopy and a building before the flames in the cab were extinguished.