Re: Set Class

From: Leonardo Herrera L. (leherrer@ENTELCHILE.NET)
Date: 11/19/97


Goonk wrote:
>
> Hi guys, I hope you can help me again. I made a few subguilds and a mob
> special procedure that set their class into the new class when they type
> 'join'. But how do I make the little tricky code that will change the
> victim (person who typed 'join')'s class into the new subguild? I tried
> this but i don't work:

> struct char_data *vict;
> GET_CLASS(vict) == CLASS_SUB_1;
                  ^^
That is a comparison, not an assignment. The compiler doesn't warned you
about this?

--
Leonardo Herrera L.
mailto:leherrer@entelchile.net
http://www.geocities.com/TimesSquare/Castle/4515/
  "Me voy a subai, me voy a costai, me voy a tapai y
me voy a hacei tuto."
        -- Ruy


     +------------------------------------------------------------+
     | 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