Re: [NEWBIE][CODE] invalid_race/invalid_class

From: Peter Ajamian (peter@pajamian.dhs.org)
Date: 03/06/01


Jared Noble wrote:
> #define IS_HUMAN(ch)            (!IS_NPC(ch) && \
>                                 (GET_RACE(ch) == RACE_HUMAN)
> #define IS_ELF(ch)              (!IS_NPC(ch) && \
>                                 (GET_RACE(ch) == RACE_ELF)
> #define IS_HALF_ELF(ch)         (!IS_NPC(ch) && \
>                                 (GET_RACE(ch) == RACE_HALF_ELF)
> #define IS_DWARF(ch)            (!IS_NPC(ch) && \
>                                 (GET_RACE(ch) == RACE_DWARF)
> #define IS_HALFLING(ch)         (!IS_NPC(ch) && \
>                                 (GET_RACE(ch) == RACE_HALFLING)
> #define IS_GNOME(ch)            (!IS_NPC(ch) && \
>                                 (GET_RACE(ch) == RACE_GNOME)

Count the ()'s on these, they're all missing a right ).

Regards, Peter

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/04/01 PST