[Question][Code] void act problem?

From: Dust (dustlos@hotmail.com)
Date: 04/28/01


I've come across an interesting problem recently and was wondering if anyone
knows whats up here...

in fight.c i have this:
  act(parts[i].actkil, FALSE, ch, NULL, victim, TO_CHAR);
  act(parts[i].actout, FALSE, ch, NULL, victim, TO_NOTVICT);

but when it is run it sends both messages to the room:
  Dust's attack ceases a skeleton's animation making a skeleton a pile of
bones!You turn a skeleton into nothing but a pile of old bones!

what is odd is that this seems to be the only part of the code where act
isnt working properly, in spell_parser.c:
    default:
     act("You raise your hands and begin chanting...", FALSE, ch, 0, 0,
TO_CHAR);
     act("$n raises $s hands and starts to chant...", FALSE, ch, 0, 0,
TO_ROOM);

works fine...

Any advice or ideas are greatly welcomed

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST