another follow-up bit

This commit is contained in:
nethack.allison
2004-12-16 10:54:00 +00:00
parent 6ecd84f031
commit 5a893fbe20

View File

@@ -2542,12 +2542,12 @@ struct obj *box; /* or bag */
char yourbuf[BUFSZ];
observe_quantum_cat(box);
box->cknown = 1;
if (!Has_contents(box)) /* evidently a live cat came out */
/* container type of "large box" is inferred */
pline("%sbox is now empty.", Shk_Your(yourbuf, box));
else /* holds cat corpse or other random stuff */
empty_it = TRUE;
box->cknown = 1;
} else if (!Has_contents(box)) {
box->cknown = 1;
pline("It's empty.");