]> granicus.if.org Git - nethack/commit
B09002 - killing monsters seen by infravision
authorcohrs <cohrs>
Mon, 26 Aug 2002 15:31:51 +0000 (15:31 +0000)
committercohrs <cohrs>
Mon, 26 Aug 2002 15:31:51 +0000 (15:31 +0000)
commit4aa5bceb1f77e189b3c48d30caa56d831c87581a
tree6736d691b6028e57da10d3e4295198a40f422b47
parent9900fc15074adf9986c599dbdcc5785265479975
B09002 - killing monsters seen by infravision
ohitmon was incorrectly using location visibility in a couple places where
monster visibility was more appropriate.  I'm still not sure about the
canspotmon check for destroy vs killed.  Similar checks do no appear
elsewhere in the code.  But at least now the 'destroyed' won't be shown
for a seen, living monster.
src/mthrowu.c