Add explanatory comments.
[open-adventure.git] / main.c
diff --git a/main.c b/main.c
index 92ab1b16ecb87219e08da0055c48442f33c0999b..c688018d3e97ec31ef9b1f4dfc5b6da52205313b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -917,6 +917,10 @@ static void listobjects(void)
                 obj = obj - NOBJECTS;
             if (obj == STEPS && TOTING(NUGGET))
                 continue;
+           /* (ESR) Warning: it looks like you could get away with
+            * running this code only on objects with the treasure
+            * property set. Nope.  There is mystery here.
+            */
             if (PROP_IS_STASHED_OR_UNSEEN(obj)) {
                 if (game.closed)
                     continue;