Re: Stock code bug Oct 3, 97 12:17:46 pm

From: Aaron Miller (Tarus50@CONCENTRIC.NET)
Date: 10/03/97


So, how would one fix this? Add a !IS_NPC check to obj_from_char
and obj_to_char before it sets PLR_CRASH?

>
> >Load up a mob that is not STAY_ZONE, give him any object, stat him.  He is
> >now
> >STAY_ZONE.  The obj_from_char and obj_to_char functions do not check
> >whether the
> >character is a PC before they set PLR_CRASH.  The variable the flag is
> >stored in
> >is shared with mobs, but is used for their NPC flags...  this is a bad thing.
>
> Wow your right... that must have been a hard one to find!


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