Since the touchstone uses objclass oc_color we need

to make that field unconditional, otherwise
NetHack won't compile without TEXTCOLOR defined.

Also provides at least an interim solution for the has_color()
problem that Warwick pointed out.

Lastly, Archeologists know touchstones.
This commit is contained in:
nethack.allison
2002-01-12 02:16:09 +00:00
parent 2e62cf4194
commit f64c0ac241
6 changed files with 10 additions and 12 deletions

View File

@@ -13,12 +13,8 @@ struct monst { struct monst *dummy; }; /* lint: struct obj's union */
#else /* !OBJECTS_PASS_2_ */
/* second pass */
# ifdef TEXTCOLOR
#include "color.h"
# define COLOR_FIELD(X) X,
# else
# define COLOR_FIELD(X) /*empty*/
# endif
#endif /* !OBJECTS_PASS_2_ */