Re: [NEWBIE] [CODE] Help making PC no say

From: Josh Anderson (joshua18@home.com)
Date: 04/18/01


One note, in these two lines:

Dave Willard wrote:
>  if (!IS_NPC(ch) && PRF_FLAGGED(ch, PLR_DEVIANT)){
(snip)
>  else if (!IS_NPC(ch) && PRF_FLAGGED(ch, PLR_DEVIANT)) {


You're checking to see if they have a preference flag of 'deviant' set on
them, but you are checking against PLR_DEVIANT, a player flag.  I'd imagine
that the numbers probably don't match up, and that's why it's getting
through the check.

- Josh Anderson
joshua18@home.com

--
   +---------------------------------------------------------------+
   | 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/05/01 PST