]> granicus.if.org Git - nethack/commitdiff
remove some duplicated code in monst.c
authornhmall <nhmall@nethack.org>
Thu, 3 Feb 2022 02:26:01 +0000 (21:26 -0500)
committernhmall <nhmall@nethack.org>
Thu, 3 Feb 2022 02:26:01 +0000 (21:26 -0500)
src/monst.c

index 6bdb9ad5c360ab28042a542834b228125e9d6382..ce1107248cf48d45e31af6c34ff701287834aded 100644 (file)
 #define WT_ELF 800
 #define WT_DRAGON 4500
 
-#ifdef C
-#undef C
-#endif
-#ifdef TEXTCOLOR
-#include "color.h"
-#define C(color) color
-#define HI_DOMESTIC CLR_WHITE /* use for player + friendlies */
-#define HI_LORD CLR_MAGENTA
-#else
-#define C(color)
-#endif
-
 #define MON(nam, sym, lvl, gen, atk, siz, mr1, mr2, flg1, flg2, flg3, d, col, bn) \
     {                                                                      \
         {(const char *) 0, (const char *) 0, nam}, \