I admit I was juggling with too many balls in the air yesterday
and managed to commit some code that I thought I had tested--- but apparently what I tested was not the latest version of the code. So 8.3.627 is quite broken and won't even compile. This update fixes that.
This commit is contained in:
parent
e789f18523
commit
7fd2ef8100
|
|
@ -796,9 +796,9 @@ drcTile (tile, dinfo, arg)
|
||||||
* an exception area. Exception rules are ignored if
|
* an exception area. Exception rules are ignored if
|
||||||
* the edge is outside an exception area.
|
* the edge is outside an exception area.
|
||||||
*/
|
*/
|
||||||
if (!isinside && ((cptr->drcc_exception & DRC_EXCEPTION_MASK) == 0)))
|
if (!isinside && (!(cptr->drcc_exception & DRC_EXCEPTION_MASK) == 0))
|
||||||
continue;
|
continue;
|
||||||
if (isinside && ((cptr->drcc_exception & DRC_EXCEPTION_MASK) == 1)))
|
if (isinside && ((cptr->drcc_exception & DRC_EXCEPTION_MASK) != 0))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1243,9 +1243,9 @@ drcTile (tile, dinfo, arg)
|
||||||
* an exception area. Exception rules are ignored if
|
* an exception area. Exception rules are ignored if
|
||||||
* the edge is outside an exception area.
|
* the edge is outside an exception area.
|
||||||
*/
|
*/
|
||||||
if (!isinside && ((cptr->drcc_exception & DRC_EXCEPTION_MASK) == 0)))
|
if (!isinside && ((cptr->drcc_exception & DRC_EXCEPTION_MASK) == 0))
|
||||||
continue;
|
continue;
|
||||||
if (isinside && ((cptr->drcc_exception & DRC_EXCEPTION_MASK) == 1)))
|
if (isinside && ((cptr->drcc_exception & DRC_EXCEPTION_MASK) != 0))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ typedef struct drccookie
|
||||||
|
|
||||||
/* drcc_exception defaults to 255 meaning no exceptions/exemptions */
|
/* drcc_exception defaults to 255 meaning no exceptions/exemptions */
|
||||||
#define DRC_EXCEPTION_NONE ((unsigned char)0xff)
|
#define DRC_EXCEPTION_NONE ((unsigned char)0xff)
|
||||||
/* The high bit of the value determines if this is an exception or an exemption.
|
/* The high bit of the value determines if this is an exception or an exemption. */
|
||||||
#define DRC_EXCEPTION_MASK ((unsigned char)0x80)
|
#define DRC_EXCEPTION_MASK ((unsigned char)0x80)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue