Import C343-377 (monsters use ranged attacks against hiding players) fix from GruntHack.