From 5a893fbe2027ad02f3a38c2a569a82faec1b09b7 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Thu, 16 Dec 2004 10:54:00 +0000 Subject: [PATCH] another follow-up bit --- src/pickup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pickup.c b/src/pickup.c index 42fcd597a..67a5c13f9 100644 --- a/src/pickup.c +++ b/src/pickup.c @@ -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.");