general musical instrument use while polymorphed

Extend the previous patch to cover all blown instruments.  Also covers
the case of the player strangling.  The test is moved to a new can_blow
function to keep the test in one place.  It supports any monster, although
all current tests are for the player.
This commit is contained in:
cohrs
2004-01-27 00:23:31 +00:00
parent 661f91009b
commit 6f0fb33e9f
5 changed files with 22 additions and 7 deletions

View File

@@ -55,7 +55,7 @@ player polymorphed as a ceiling hider cannot reach the floor, but
automatically unhide on #sit
trappers do not hide on the ceiling
non-magical whistles do not work underwater
try to restrict whistle use to monsters that can blow a whistle
try to restrict whistles and musical instruments to monsters that can blow
Platform- and/or Interface-Specific Fixes