]> granicus.if.org Git - nethack/commit
Remove canspotmon() requirement from #wizsmell
authorMichael Meyer <me@entrez.cc>
Thu, 1 Dec 2022 22:56:00 +0000 (17:56 -0500)
committerPatR <rankin@nethack.org>
Sat, 31 Dec 2022 19:37:06 +0000 (11:37 -0800)
commitbe810f3edeb246189d77a8c6995828daa3c61712
tree231818c267d745c5d3ed47612887744bd19326ea
parent8c831fcad074bfde7f488d222aa1ea01b9bb0f8e
Remove canspotmon() requirement from #wizsmell

You can attempt to smell a monster at particular coordinates even if you
can't see it.  Revert the message for the 'can't find a monster there to
smell' case to "That is not a monster", as it was before, since the
change makes it so that you only reach that line if there genuinely is
no monster there (previously it would be reached if there was a hidden
or undetected monster on the specified spot).
src/cmd.c