MOBProgram

From: corey hoitsma (choitsma@netcom.com)
Date: 12/06/95


	Hmm, I'm having trouble with the MOBPRogram...

I get this error after I used the patch to install it....


make ../bin/circle
gcc -c -g -Wall  act.offensive.c
act.offensive.c: In function `do_kill':
act.offensive.c:126: too few arguments to function `raw_kill'
*** Error code 1
make: Fatal error: Command failed for target `act.offensive.o'


Can anyone help me out? Here's the code, if that'll help:

void raw_kill(struct char_data * ch, struct char_data * killer);
-= in begining =-

-= lot's of lines later =-
    if (!(vict = get_char_room_vis(ch, arg)))
      send_to_char("They aren't here.\r\n", ch);
    else if (ch == vict)
      send_to_char("Your mother would be so sad.. :(\r\n", ch);
    else {
      act("You destroy $N with one look!\r\n", FALSE, ch, 0, vict, TO_CHAR);
      act("$N looks at you! RUN!\r\n", FALSE, vict, 0, ch, TO_CHAR);
      act("$n destroys $N!\r\n", FALSE, ch, 0, vict, TO_NOTVICT);
      raw_kill(vict);
      ^^^^^^^^^^^^^^^
That's where the error is..	


Thanks for any help!

Myrddin - Corey Hoitsma

choitsma@netcom.com



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