Re: Object specproc dilemma

From: Daniel A. Koepke (
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).


   | FAQ: |
   | Archives: |
   | Newbie List:   |

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