Re: [CODE] IS_CLASS function

From: krenshala (krenshala@jump.net)
Date: 12/11/01


From: George Greer <greerga@CIRCLEMUD.ORG>

> On Tue, 11 Dec 2001, krenshala wrote:
>
> >Has anyone (aside from me :) considered coding an IS_CLASS(ch,<CLASS>)
> >function that can replace the IS_<CLASS>(ch) functions?
>
> Why not use GET_CLASS(ch) == CLASS_xxx ? I'm not sure what IS_CLERIC buys
> other than !IS_NPC() checks (which are bogus anyway if you give mobiles
> classes), but it's there.

It was 2am, and I was wandering through teh code. ;p  :)
I learned the macros now (the stuff for checkign to see if some(one|thing)
can be seen are ... interesting to say the least).

     Larry

Larry Robinson
krenshala@jump.net
:wq

--
   +---------------------------------------------------------------+
   | 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/24/03 PDT