Fireweapons

From: Nick Stout (cyberman_64@HOTMAIL.COM)
Date: 08/26/98


Okay. I got almost everything working properly, no thanks to anyone but
Brett Williams (Thanks Brett! Even the obvious is sometimes hard.)

Now, i am getting a large error.
Actually, the mud crashes. Totally.

#0  perform_violence () at fight.c:989
989         if (GET_OBJ_TYPE(weapon) == ITEM_FIREWEAPON) {


in my pulse violence, to subtract ammo, i have this right before the
GET_MOB_WAIT:

    weapon = GET_EQ(ch, WEAR_WIELD);
    if (GET_OBJ_TYPE(weapon) == ITEM_FIREWEAPON) {
GET_OBJ_VAL(weapon, 3) -= 1;
    }

Uhhh... Help? =(

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


     +------------------------------------------------------------+
     | 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