Stop NPCs from shooting if more than weapon.range() tiles away

Fixes #1685