Sitting on amorphous corpse

This commit is contained in:
Pasi Kallinen
2022-07-21 18:27:50 +03:00
parent 01209cab7a
commit 8747d2ddce

View File

@@ -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))) {