]> granicus.if.org Git - nethack/commitdiff
a couple of steed Flying messages
authornhmall <nhmall@nethack.org>
Sun, 30 Sep 2018 14:01:43 +0000 (10:01 -0400)
committernhmall <nhmall@nethack.org>
Sun, 30 Sep 2018 14:01:43 +0000 (10:01 -0400)
src/polyself.c
src/steed.c

index a3bea6a24d28f358e1c0d4189e9e08b3afd75abf..e136d1898d72900987117a7ec9d022f61c843499 100644 (file)
@@ -1030,6 +1030,8 @@ int alone;
 void
 rehumanize()
 {
+    boolean was_flying = (Flying != 0);
+
     /* You can't revert back while unchanging */
     if (Unchanging) {
         if (u.mh < 1) {
@@ -1060,7 +1062,9 @@ rehumanize()
     context.botl = 1;
     vision_full_recalc = 1;
     (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);
     if (!uarmg)
         selftouch(no_longer_petrify_resistant);
index aa2beb3003be0e37ac13b76bb431be2bb0898686..1abdb867c92a4522b88ad3c39c8f5e4e1b6ada09 100644 (file)
@@ -335,6 +335,8 @@ boolean force;      /* Quietly force this animal */
             /* Must have Lev_at_will at this point */
             pline("%s magically floats up!", Monnam(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 */
     if (uwep && is_pole(uwep))