]> granicus.if.org Git - nethack/commitdiff
Sitting on amorphous corpse
authorPasi Kallinen <paxed@alt.org>
Thu, 21 Jul 2022 15:27:50 +0000 (18:27 +0300)
committerPasi Kallinen <paxed@alt.org>
Thu, 21 Jul 2022 15:27:50 +0000 (18:27 +0300)
src/sit.c

index c30695747b561d10ade9c96ed9d5e9609d1a710c..14d3878211af341f93bc792dd4a987955bbf5b64 100644 (file)
--- a/src/sit.c
+++ b/src/sit.c
@@ -280,7 +280,9 @@ dosit(void)
             pline("It's probably not a good time for a picnic...");
         } else {
             You("sit on %s.", the(xname(obj)));
-            if (!(Is_box(obj) || objects[obj->otyp].oc_material == CLOTH))
+            if (obj->otyp == CORPSE && amorphous(&mons[obj->corpsenm]))
+                pline("It's squishy...");
+            else if (!(Is_box(obj) || objects[obj->otyp].oc_material == CLOTH))
                 pline("It's not very comfortable...");
         }
     } else if (trap != 0 || (u.utrap && (u.utraptype >= TT_LAVA))) {