a couple of steed Flying messages

This commit is contained in:
nhmall
2018-09-30 10:01:43 -04:00
parent 85aef136d5
commit d9ecc42566
2 changed files with 7 additions and 1 deletions
+5 -1
View File
@@ -1030,6 +1030,8 @@ int alone;
void void
rehumanize() rehumanize()
{ {
boolean was_flying = (Flying != 0);
/* You can't revert back while unchanging */ /* You can't revert back while unchanging */
if (Unchanging) { if (Unchanging) {
if (u.mh < 1) { if (u.mh < 1) {
@@ -1060,7 +1062,9 @@ rehumanize()
context.botl = 1; context.botl = 1;
vision_full_recalc = 1; vision_full_recalc = 1;
(void) encumber_msg(); (void) encumber_msg();
if (was_flying && !Flying && u.usteed)
You("and %s return gently to the %s.",
mon_nam(u.usteed), surface(u.ux, u.uy));
retouch_equipment(2); retouch_equipment(2);
if (!uarmg) if (!uarmg)
selftouch(no_longer_petrify_resistant); selftouch(no_longer_petrify_resistant);
+2
View File
@@ -335,6 +335,8 @@ boolean force; /* Quietly force this animal */
/* Must have Lev_at_will at this point */ /* Must have Lev_at_will at this point */
pline("%s magically floats up!", Monnam(mtmp)); pline("%s magically floats up!", Monnam(mtmp));
You("mount %s.", mon_nam(mtmp)); You("mount %s.", mon_nam(mtmp));
if (Flying)
You("and %s take flight together.", mon_nam(mtmp));
} }
/* setuwep handles polearms differently when you're mounted */ /* setuwep handles polearms differently when you're mounted */
if (uwep && is_pole(uwep)) if (uwep && is_pole(uwep))