[CODE] help with make_corpse

From: Sliver (sliver@lightspeed.bc.ca)
Date: 09/22/96

I am trying to put in implants in my mud, implants that
stay with you when you die, and re-enter the game.

  /* transfer character's equipment to the corpse */
  for (i = 0; i < NUM_WEARS; i++)
    if (GET_EQ(ch, i) && GET_OBJ_TYPE(i) != ITEM_IMPLANT) {
      obj_to_obj(unequip_char(ch, i), corpse);
I tried doing the above, but I get an error when I compile:

make ../bin/circle
gcc -c -g -O -Wall  fight.c
fight.c: In function `make_corpse':
fight.c:277: invalid type argument of `->'
*** Error code 1

Any help would be appretiated. thanks :)

SLiVER Implementor of
ArmadaMUD                    lightspeed.bc.ca 4000
EMail:                     sliver@lightspeed.bc.ca
| 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/18/00 PST