Re: Bug fix for drunk code

From: Alex (fletcher@DEMOCRACY.QUEENSU.CA)
Date: 01/01/98


On Thu, 1 Jan 1998, Erik Lundin wrote:
> > = search for this line
> * = add this line
>
> >void perform_tell(struct char_data *ch, struct char_data *vict, char *arg)
> >  sprintf(buf, "$n tells you, '%s'", arg);
> *  arg = makedrunk(arg, ch);
> >  act(buf, FALSE, ch, 0, vict, TO_VICT | TO_SLEEP);

> this should fix the drunk code... from the snippet page
Why should this fix it?  There's already a 'makedrunk' call in the do_tell
section as is.  Perhaps that should be removed and this one added?  Be
ever so much more clear with these one liner bug fixes.  (=

F. -- he who knows not Circle code well.
--
Erm... Yeah.  Whatever.


     +------------------------------------------------------------+
     | 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/15/00 PST