Autoloot

From: John C. A. Bambenek, Esq. (bambenek@alecto.physics.uiuc.edu)
Date: 07/13/96


I was working with the autollot code on the snippets page, and put it 
in.  I am getting this compiling error.

fight.c: In function `damage':
fight.c:756: parse error before `void'
fight.c:757: warning: implicit declaration of function `do_get'
make[1]: *** [fight.o] Error 1
make[1]: Leaving directory `/home/jc/circle30bpl11/src'
make: *** [all] Error 2

Here is my code at this point.

    die(victim);
    if (IS_NPC(victim) && !IS_NPC(ch) && PRF_FLAGGED(ch, PRF_AUTOLOOT))
      ACMD(do_get);
      do_get(ch, "all corpse", 0, 0);

Anyh ideas??

---------------------------------------
|from: John C. A. Bambenek  &         |
|      Christina M. Drummond          |
|bambenek@alecto.physics.uiuc.edu     |
|http://www.physics.uiuc.edu/~bambenek|
|--------------------------------------



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