<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:
@@ -1037,7 +1037,7 @@ opentin() /* called during each move whilst opening a tin */
|
||||
} else {
|
||||
if (tin.tin->cursed)
|
||||
pline("It contains some decaying%s%s substance.",
|
||||
Blind ? "" : " ", Blind ? "" : hcolor(green));
|
||||
Blind ? "" : " ", Blind ? "" : hcolor(NH_GREEN));
|
||||
else
|
||||
pline("It contains spinach.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user