Firefighting with a Distance-Based Restriction