<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:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user