From: cohrs Date: Tue, 30 Sep 2003 18:46:49 +0000 (+0000) Subject: putting a saddle on a cockatrice X-Git-Tag: MOVE2GIT~1738 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a4816f775f33c6667f0b10503f6c600b4ad1a10;p=nethack putting a saddle on a cockatrice If you try to put a saddle on a cockatrice, you turn to stone, even if wearing gloves. This seemed inconsistent with other cases, and I couldn't think of a reason why you'd touch the cockatrice with another body part, so I added the uarmg test. --- diff --git a/doc/fixes34.3 b/doc/fixes34.3 index 0871fee76..8e357f985 100644 --- a/doc/fixes34.3 +++ b/doc/fixes34.3 @@ -35,6 +35,7 @@ casting stone-to-flesh on self while wielding a statue caused problems add tab support to menu strings for control-x minimal_enlightenment() if the monster that a statue represents is not made of flesh then don't allow stone_to_flesh to animate it, make a meatball instead +attempting to saddle a cockatrice while wearing gloves shouldn't stone you Platform- and/or Interface-Specific Fixes diff --git a/src/steed.c b/src/steed.c index 25ec9f8a2..79cfe56c6 100644 --- a/src/steed.c +++ b/src/steed.c @@ -79,7 +79,7 @@ use_saddle(otmp) return 1; } ptr = mtmp->data; - if (touch_petrifies(ptr) && !Stone_resistance) { + if (touch_petrifies(ptr) && !uarmg && !Stone_resistance) { char kbuf[BUFSZ]; You("touch %s.", mon_nam(mtmp));