Doors do not effect bullet range calculations:
Repro: Buy close range, shoot an enemy through a long range door, step through the door and shot them again, note the damage difference
Damage falloff, close range, sharpshooter, etc, seem to use distance on map rather then ray-cast distance...