<email deleted>

> I'm working on a Nethack port, and one of the header files a
> library uses has a structure with a member named "red". Since
> includes/decl.h #defines red to something, this totally loses.
>
> Attached is a patch which fixes the color defines.
This commit is contained in:
nethack.allison
2002-09-06 00:12:44 +00:00
parent 3bacf79700
commit 9ac2c2c576
15 changed files with 59 additions and 59 deletions

View File

@@ -1044,7 +1044,7 @@ int dieroll; /* needed for Magicbane and vorpal blades */
if (vis) {
if(otmp->oartifact == ART_STORMBRINGER)
pline_The("%s blade draws the life from %s!",
hcolor(Black),
hcolor(NH_BLACK),
mon_nam(mdef));
else
pline("%s draws the life from %s!",
@@ -1071,7 +1071,7 @@ int dieroll; /* needed for Magicbane and vorpal blades */
"unholy blade" : "object");
else if (otmp->oartifact == ART_STORMBRINGER)
pline_The("%s blade drains your life!",
hcolor(Black));
hcolor(NH_BLACK));
else
pline("%s drains your life!",
The(distant_name(otmp, xname)));