From 8a4816f775f33c6667f0b10503f6c600b4ad1a10 Mon Sep 17 00:00:00 2001 From: cohrs Date: Tue, 30 Sep 2003 18:46:49 +0000 Subject: [PATCH] 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. --- doc/fixes34.3 | 1 + src/steed.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)); -- 2.50.1