Re: Weapons casting spells.

From: Mike Stilson (stilson@earthlink.net)
Date: 02/05/00


On Sat, 5 Feb 2000, Victor Wennberg wrote:

> I've just added add_wpn_spells.txt snippet to my mud... and i get errors in db.c it says wsplnum first use in this function ... what do i need to add to get it working
> i removed the log file stuff because it gave me errors... please help me... or tell me where i can get another patch / snippet who is like that one.. but working :)
>

I was pretty sure I had a few little lines I missed....
in the function:
 char *parse_object(...

  int wsplnum=0;
add ^^^^^


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



This archive was generated by hypermail 2b30 : 04/10/01 PDT