]> granicus.if.org Git - nethack/commitdiff
invisible things due to black colour
authornethack.allison <nethack.allison>
Sun, 27 Jan 2002 21:02:28 +0000 (21:02 +0000)
committernethack.allison <nethack.allison>
Sun, 27 Jan 2002 21:02:28 +0000 (21:02 +0000)
Patch to fix invisible orcish helmets, orcish daggers,
mimic (]), ants etc.

win/win32/mhmap.c

index 6850cbf70a70d1c643ad650833197f1d1ce11a9b..29e8e71faf8dc9a68325442ae42841cd54db1301 100644 (file)
@@ -815,7 +815,7 @@ void nhglyph2charcolor(short g, uchar* ch, int* color)
 COLORREF nhcolor_to_RGB(int c)
 {
        switch(c) {
-       case CLR_BLACK:                 return  RGB(  0,   0,   0);             
+       case CLR_BLACK:                 return RGB(85, 85, 85);
        case CLR_RED:                   return RGB(255,   0,   0);              
        case CLR_GREEN:                 return RGB(  0, 128,   0);              
        case CLR_BROWN:                 return RGB(165,  42,   42);