From b55a87a66739b6aaee24f03b0711311192d47e54 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Sat, 6 Mar 1993 02:31:11 -0800 Subject: [PATCH] if you throw something away, and type ?, you get an empty list from Rich $alz SCCS-vsn: games/rogue/pack.c 5.4 --- usr/src/games/rogue/pack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/src/games/rogue/pack.c b/usr/src/games/rogue/pack.c index c0f10a96b4..b0d043ec3d 100644 --- a/usr/src/games/rogue/pack.c +++ b/usr/src/games/rogue/pack.c @@ -9,7 +9,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)pack.c 5.3 (Berkeley) %G%"; +static char sccsid[] = "@(#)pack.c 5.4 (Berkeley) %G%"; #endif /* not lint */ /* @@ -267,6 +267,7 @@ unsigned short mask; if (ch == LIST) { check_message(); + mask = tmask; inventory(&rogue.pack, mask); } else { break; -- 2.20.1