From f2cc8a0dbfa91b47e8c172224b105c13dc7ea91f Mon Sep 17 00:00:00 2001 From: cohrs Date: Thu, 7 Nov 2002 18:24:31 +0000 Subject: [PATCH] salamanders have no legs However, they could ride. Marilith is similar, but since it's MZ_LARGE, that check disallowed riding. Added a check for slithy(), like canwearobj() already has. --- doc/fixes34.1 | 1 + src/steed.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 43dc66b13..83feca3aa 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -299,6 +299,7 @@ vault wall repair should remove traps subsequently created at affected spots don't reveal deity name when a high priest(ess) gives temple entry greeting for ordinary remove curse, don't uncurse quivered object unless it is suitable to be used as a quivered weapon (ammo or missile) +salamanders have no legs and cannot ride Platform- and/or Interface-Specific Fixes diff --git a/src/steed.c b/src/steed.c index 04a23cca3..b097dd5d4 100644 --- a/src/steed.c +++ b/src/steed.c @@ -228,7 +228,7 @@ mount_steed(mtmp, force) } if (Upolyd && (!humanoid(youmonst.data) || verysmall(youmonst.data) || - bigmonst(youmonst.data))) { + bigmonst(youmonst.data) || slithy(youmonst.data))) { You("won't fit on a saddle."); return (FALSE); } -- 2.49.0