normally when you shoot at enemies far away, the amount of damage your gun does drops.
i dont know the real numbers but an example is lets say m4a1 does 30 damage close range, at its max range it only does 10 damage, with unlimited range you'll do full damage at all ranges