> 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. Works fine for me. ************************************************************** +----------------------+-------------------------------------+ | Mike Simons | simons@donner.niagara.edu | | Niagara University | http://donner.niagara.edu/~simons | | Rystan Geomar | saffron.hack.net 9000 | +----------------------+-------------------------------------+ +------------------------------------------------------------+ | 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