if you throw something away, and type ?, you get an empty list
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 6 Mar 1993 10:31:11 +0000 (02:31 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 6 Mar 1993 10:31:11 +0000 (02:31 -0800)
from Rich $alz

SCCS-vsn: games/rogue/pack.c 5.4

usr/src/games/rogue/pack.c

index c0f10a9..b0d043e 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)pack.c     5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)pack.c     5.4 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -267,6 +267,7 @@ unsigned short mask;
 
                if (ch == LIST) {
                        check_message();
 
                if (ch == LIST) {
                        check_message();
+                       mask = tmask;
                        inventory(&rogue.pack, mask);
                } else {
                        break;
                        inventory(&rogue.pack, mask);
                } else {
                        break;