Multiple sclerosis alters the mechanical work performed on the body's center of mass during gait.