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:
@@ -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_ */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user