<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:
+2
-2
@@ -2283,13 +2283,13 @@ struct monst *mon;
|
||||
if (Blind)
|
||||
Your("%s stop tingling.", hands);
|
||||
else
|
||||
Your("%s stop glowing %s.", hands, hcolor(red));
|
||||
Your("%s stop glowing %s.", hands, hcolor(NH_RED));
|
||||
} else {
|
||||
if (Blind)
|
||||
pline_The("tingling in your %s lessens.", hands);
|
||||
else
|
||||
Your("%s no longer glow so brightly %s.", hands,
|
||||
hcolor(red));
|
||||
hcolor(NH_RED));
|
||||
}
|
||||
u.umconf--;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user