locomotion when plucked from saddle

Reported by entrez.  Revise a recent change that made non-animals who
engulf mounted hero cause dismount first.
This commit is contained in:
PatR
2022-08-19 04:49:27 -07:00
parent 07a0d2a3a1
commit 51c367ada3

View File

@@ -1166,9 +1166,16 @@ gulpmu(struct monst *mtmp, struct attack *mattk)
Strcpy(buf, mon_nam(u.usteed));
urgent_pline("%s %s forward and plucks you off %s!",
Some_Monnam(mtmp),
/* 't', purple 'w' */
is_animal(mtmp->data) ? "lunges"
: amorphous(mtmp->data) ? "oozes"
: "surges",
/* 'v', air 'E' */
: is_whirly(mtmp->data) ? "whirls"
/* none (some 'v', already whirling) */
: unsolid(mtmp->data) ? "flows"
/* ochre 'j', Juiblex */
: amorphous(mtmp->data) ? "oozes"
/* none (all AD_ENGL are already covered) */
: "surges",
buf);
dismount_steed(DISMOUNT_ENGULFED);
} else {