From: nhmall Date: Thu, 3 Feb 2022 02:26:01 +0000 (-0500) Subject: remove some duplicated code in monst.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc752a8f9de6afa80a04f18c37b1f4226b2e2023;p=nethack remove some duplicated code in monst.c --- diff --git a/src/monst.c b/src/monst.c index 6bdb9ad5c..ce1107248 100644 --- a/src/monst.c +++ b/src/monst.c @@ -27,18 +27,6 @@ #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}, \