From: Eric S. Raymond Date: Mon, 18 Apr 2022 14:01:14 +0000 (-0400) Subject: Base UNDEEP on the previiously unreferenced DEEP condition bit. X-Git-Tag: 1.12~26 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=d9d58ea168e53d93c527b2d302893c230a690480;p=open-adventure.git Base UNDEEP on the previiously unreferenced DEEP condition bit. Removes the only dependency on the order of locations left in the macros. --- diff --git a/advent.h b/advent.h index c740c53..a2c1eb0 100644 --- a/advent.h +++ b/advent.h @@ -81,7 +81,7 @@ #define FOREST(LOC) CNDBIT(LOC, COND_FOREST) #define OUTSID(LOC) (CNDBIT(LOC, COND_ABOVE) || FOREST(LOC)) #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) enum bugtype {