[AFF2 Q]

From: Ray Campbell (torynadmin@mail.thewolvesden.net)
Date: 06/29/99


I recently added AFF2 flags for the obvious reason, however in
do_stat_character (act.wizard.c)  I am getting these errors:

act.wizard.c: In function `do_stat_character':
act.wizard.c:782: warning: left-hand operand of comma expression has no effect
act.wizard.c:782: warning: left-hand operand of comma expression has no effect
act.wizard.c:782: parse error before `;'

*SNIP*
  /* Showing the bitvector */
  sprintbit(AFF_FLAGS(k), affected_bits, buf2);
  sprintf(buf, "AFF: %s%s%s\r\n", CCYEL(ch, C_NRM), buf2, CCNRM(ch, C_NRM));
-->  sprintbit(AFF2_FLAGS(k), affected_bits2, buf2);
  sprintf(buf, "%sAFF2: %s%s%s\r\n", buf, CCYEL(ch, C_NRM), buf2, CCNRM(ch,
C_NRM));
  send_to_char(buf, ch);
*SNIP*

Its rather obvious answer I'm sure, however I can't personally figure it
out, any input? If theres other data you need to see, just let me know
(private)


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