Re: [128 bitvectors]

From: Niese-Petersen (Tenp@CRIS.COM)
Date: 07/12/97


On Sat, 12 Jul 1997, Anthony Appel wrote:

> Well I'm having the worst time with the 128 bitvector patch.  I've typed
> it through from scratch twice and then checked it 3 times through every
> line of the snippet.
>
> The problem I'm having is the call to the macro GET_OBJ_EXTRA in magic.c
>
> magic.c :1008: macro 'GET_OBJ_EXTRA' used with too many (2) args
> magic.c :1014: macro 'GET_OBJ_EXTRA' used with too many (2) args
>
> The lines for the code are...
>
> SET_BIT_AR(GET_OBJ_EXTRA(obj, -1), ITEM_BLESS);
>
> SET_BIT_AR(GET_OBJ_EXTRA(obj, -1), ITEM_NODROP);
>
> Now I'm assuming that it's the -1 which is causeing the problem - the
> extra argument.  It was also one of the things that was changed in the
> patch.  I checked all the other get_obj_extra changes in the snippet and
> couldn't find anything wrong.. I also couldn't locate where anything had
> been changed to allow the extra -1 argument.

It was something I worked on, but changed my mind on, but I didn't get all
removed from the "patch" .. Just remove th second argument (-1) and you
will be fine.

Erik Niese-Petersen
AKA Quint the Typo Dane


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



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