[CRASH] Race Body Parts

From: Phillip A. Ames (kirk47@JUNO.COM)
Date: 11/01/98


Hey all, I added in the race body parts, and have a question... When
someone tries to wear eq, the game will crash and when I click debug(I'm
running windows) points me to the chunk below.

  // first, make sure they have the part!
  if (!HAS_BODY(ch, where)) {
      send_to_char("You can't wear that there.\r\n", ch);
      return;
    }

  /* second, make sure that the wear position is valid. */
  if (!CAN_WEAR(obj, wear_bitvectors[where])) {            <------- This
line
    act("You can't wear $p there.", FALSE, ch, obj, 0, TO_CHAR);
    return;
  }

Anyone know what could be causing this?

-Phillip

Phillip Ames    | Satisfaction is not guaranteed.
kirk47@juno.com | -Ferengi Rule of Acquisition #19
ICQ: 8778335    | AOL IM: Grathol
http://members.xoom.com/Gowron/index.html(Unfinished)

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
or call Juno at (800) 654-JUNO [654-5866]


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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