Add explanatory comments.
This commit is contained in:
parent
a6b41fdb8f
commit
5d3205e1e9
4 changed files with 35 additions and 7 deletions
4
main.c
4
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue