Base UNDEEP on the previiously unreferenced DEEP condition bit.
Removes the only dependency on the order of locations left in the macros.
This commit is contained in:
parent
846f293e06
commit
d9d58ea168
1 changed files with 1 additions and 1 deletions
2
advent.h
2
advent.h
|
@ -81,7 +81,7 @@
|
||||||
#define FOREST(LOC) CNDBIT(LOC, COND_FOREST)
|
#define FOREST(LOC) CNDBIT(LOC, COND_FOREST)
|
||||||
#define OUTSID(LOC) (CNDBIT(LOC, COND_ABOVE) || FOREST(LOC))
|
#define OUTSID(LOC) (CNDBIT(LOC, COND_ABOVE) || FOREST(LOC))
|
||||||
#define INSIDE(LOC) (!OUTSID(LOC) || LOC == LOC_BUILDING)
|
#define INSIDE(LOC) (!OUTSID(LOC) || LOC == LOC_BUILDING)
|
||||||
#define INDEEP(LOC) ((LOC) >= LOC_MISTHALL && !OUTSID(LOC))
|
#define INDEEP(LOC) CNDBIT((LOC),COND_DEEP)
|
||||||
#define BUG(x) bug(x, #x)
|
#define BUG(x) bug(x, #x)
|
||||||
|
|
||||||
enum bugtype {
|
enum bugtype {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue