On Wed, 26 Jul 2000, Del wrote: [snip] > These lines were replaced > > #define _clrlevel(ch) (!IS_NPC(ch) ? (PRF_FLAGGED((ch), PRF_COLOR_1) ? 1 > : 0) + \ > (PRF_FLAGGED((ch), PRF_COLOR_2) ? 2 : 0) : 0) > > > with: > > #define _clrlevel(ch) ((PRF_FLAGGED((ch), PRF_COLOR_1) ? 1 : 0) + \ > (PRF_FLAGGED((ch), PRF_COLOR_2) ? 2 : 0)) It should be apparent then, that it is complaining that you are using PRF_FLAGGED on a mobile--you should add an IS_NPC(ch) check in there to make sure that no mobiles are trying to use this macro. You could put the check in the macro itself, to give some default value if the macro is used on a mob. -Tony +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT