Re: NEWBIE Lives system & Prompt

From: Del (caminturn@earthlink.net)
Date: 02/05/00


fight.c(502) : error C2064: term does not evaluate to a function

here is the line i was given
if (GET_LEVEL(ch) < LVL_IMMORT && !--GET_LIVES(ch))
  SET_BIT(PLR_FLAGS(d->character), PLR_DELETED);

I changed it to this but it still didnt work
if (GET_LEVEL(ch) < LVL_IMMORT && GET_LIVES(ch) < 1)
  SET_BIT(PLR_FLAGS(ch), PLR_DELETED));

Jerry Billings wrote:
>
> > Did this second one give the same error (exactly)?
> yes it gave the same exact error, saying that it wasnt a function.
>

ok, atleast it's not the operators then..

Which line is 502?
(first or second?)
narrows it down to GET_LEVEL, GET_LIVES
(my guess, GET_LIVES, did you do a #define GET_LIVES()?)


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



This archive was generated by hypermail 2b30 : 04/10/01 PDT