[Circle] Re: buf bug??

From: Daniel W. Burke (dwb@ix.netcom.com)
Date: 07/31/96


On Wed, 31 Jul 1996, Alex wrote:

> its the DO_SCORE code:
> ACMD(do_hp)
> {
>    sprintf(buf, "%sYou have %d(%d) hit and %d(%d) movement
                   ^^-there's the problem, there's NO point to this
>    points.\r\n", buf, GET_HIT(ch), GET_MAX_HIT(ch), GET_MOVE(ch),
                   ^^^
>    GET_MAX_MOVE(ch)); send_to_char(buf, ch);
> }

That's exactly why it keeps copying on you... you're telling it to


Brazil

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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