Re: [CODE] Innate spells

From: Patrick J. Dughi (dughi@IMAXX.NET)
Date: 02/27/98


> (sanctuary) crashes the game.  The debugger says this snip of code is
> causing the problem:
>
>     for (aff = victim->affected; aff && !is_innate; aff = af->next) {
>         if (spellnum == aff->type && aff->duration == -1)
>           is_innate=TRUE;
>     }
>
        I'd have to guess that that little bit up there were it says
"af->next" instead of "aff->next" might do it though.  Elsewuse, it would
help if you posted the debugger backtrace.  Double check that the
affection is set correctly the first time (if you had changed it codewise
before).

                                        PjD


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