Re: CHECK_FLAGS problems....

From: Daniel A. Koepke (dkoepke@california.com)
Date: 04/08/99


On Thu, 8 Apr 1999, Corey Elliott wrote:

>     CHECK_FLAGS(buf, buf2) = buf3;

CHECK_FLAGS(vict, number2) = number3;

Of course, you don't need the number variable, since buf is not a number.

>     sprintf(buf,"%s's Quest Flag %d is set at %d.\r\n",buf, buf2, buf3);

This will cause a problem.  You can't sprintf() buf to buf.  Use
GET_NAME(vict).

-dak


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