of the code elsewhere.
Weird bits:
monsters::foe and player::pet_target are used interchangeably, but the former is an unsigned int, while the latter is an unsigned short. Both of these can be set using the return value of monster_index(), which is a signed int. Most of the functions that use these expect signed ints, as well. ???
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5459 c06c8d41-db1a-0410-9941-cceddc491573
K3WXOHMGLLPL4CHGWRK227FWKCMBA7KHLJXLY6DTKEC5LKFJI62QC
KBH6DZPJCNMT3OMEMHKLASTWQZ24FIVNVANBCVI3SEVAMMPSWRWQC
73URNFZM2NNHOTIYX6RAUXJ27LYPA6K3XA3OOSHGNGAR4KPQJSTAC
KFULGQQOHWUTXOM3BXCCYPGGVGGY4Z6265XUFRCBPNLTZAEHJZSQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
5MGUZD2UACJCSG74TEZHI3Z4YL5KL6ZVUCQ3XVZKDOLKM7EMGWJAC
TONFKA6OUHKQVVN7LP6QR4LHODWBCZQ6V42ITUO6EI4SW642A7PAC