Re: CHECK_FLAGS problems....

From: Michael Cunningham (malice@exit109.com)
Date: 04/08/99


>   if ((number = atoi(buf)< 0) || (number2 = atoi(buf2) < 0) || (number3 =
> atoi(buf3) < 0))

Here you are converting the buffers into you number variables
>
>     CHECK_FLAGS(buf, buf2) = buf3;
>     sprintf(buf,"%s's Quest Flag %d is set at %d.\r\n",buf, buf2, buf3);
>     send_to_char(buf, ch);

Now your back to using the buffers? Why? Use the number variables
and you should be fine as far as I can see..

Mike


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST