Confine use of STATE_NOTFOUND to macros.
This commit is contained in:
parent
9e9731d59b
commit
1af01ff91f
3 changed files with 5 additions and 4 deletions
1
advent.h
1
advent.h
|
@ -61,6 +61,7 @@
|
|||
#define PROP_IS_STASHED_OR_UNSEEN(obj) (game.objects[obj].prop < 0)
|
||||
#define PROP_SET_FOUND(obj) (game.objects[obj].prop = STATE_FOUND)
|
||||
#define PROP_SET_NOT_FOUND(obj) (game.objects[obj].prop = STATE_NOTFOUND)
|
||||
#define PROP_IS_NOTFOUND2(g, o) (g.objects[o].prop == STATE_NOTFOUND)
|
||||
|
||||
#define PROMPT "> "
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue