Re: [Snippets] problem with vwear

From: Edward Glamkowski (EGlamkowski@MATHEMATICA-MPR.COM)
Date: 10/28/97


>>         Could someone with this snippet installed, supply me with their
>> CAN_WEAR macro?  Also, since this macro is used in quite a few places in
>> the code (do_wear, etc), will this have any affect on those fuctions?
>
>What I did was the following...
>I left the CAN_WEAR macro alone, and added a second CAN_WEAR2 MACRO
>
>#define CAN_WEAR2(obj, part) (IS_SET((&obj_proto[nr])->obj_flags.wear_flags,
>(part)))
>
>And called that macro in the vwear_object() function.

But then, you aren't using obj, so why not just remove
it from the macro call :P


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST