Simplify ray handling in directn.cc.

Existence of a valid ray is now tracked with a separate boolean have_beam. fallback_ray has been removed almost completely. The change appears fine in console crawl; tiles untested at the moment.

find_ray now correctly returns false for rays with source == target.

Also rename CMD_TARGET_HIDE_BEAM to CMD_TARGET_TOGGLE_BEAM.

Created by  Robert Vollmert  on October 15, 2009
3MCIHHM7HEXQPZHF2MZBUV3STJHRMVSUTWENFM3KUYIQXI5FJ2GAC
Dependencies
In channels
main
Change contents