Re: Object specproc dilemma

From: Daniel A. Koepke (dkoepke@circlemud.org)
Date: 03/04/03


On Mon, 3 Mar 2003, Craig Mackles Jr. wrote:

> perform_wear(ch, cloak, ITEM_WEAR_ABOUT);

You want WEAR_ABOUT, not ITEM_WEAR_ABOUT, as noted in the comment just
before the WEAR_xxx #defines in structs.h:

  /* NOTE: Don't confuse these constants with the ITEM_ bitvectors
     which control the valid places you can wear a piece of equipment */

That is, you want the position WEAR_ABOUT, not the flag that indicates an
item may be worn in that position (ITEM_WEAR_ABOUT).

-dak

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/26/03 PDT