<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:
+1
-1
@@ -321,7 +321,7 @@ Helmet_on()
|
||||
pline("%s for a moment.", Tobjnam(uarmh, "vibrate"));
|
||||
else
|
||||
pline("%s %s for a moment.",
|
||||
Tobjnam(uarmh, "glow"), hcolor(Black));
|
||||
Tobjnam(uarmh, "glow"), hcolor(NH_BLACK));
|
||||
curse(uarmh);
|
||||
}
|
||||
flags.botl = 1; /* reveal new alignment or INT & WIS */
|
||||
|
||||
Reference in New Issue
Block a user