bones while swallowed

Michael pointed out that bones will never occur while swallowed because
makemon of the ghost will always fail.  I suggested that the outcome made
sense, since your body may be digested, torn apart, whatever.  But, there
was no explicit check for this to make it obvious this was occuring.
This commit is contained in:
cohrs
2002-10-11 21:30:40 +00:00
parent 9de0ebd7a6
commit 34f66394c2

View File

@@ -165,6 +165,9 @@ can_make_bones()
return FALSE;
if (no_bones_level(&u.uz))
return FALSE; /* no bones for specific levels */
if (u.uswallow) {
return FALSE; /* no bones when swallowed */
}
if (!Is_branchlev(&u.uz)) {
/* no bones on non-branches with portals */
for(ttmp = ftrap; ttmp; ttmp = ttmp->ntrap)