[CODE] Innate spells

From: Guyang Mao (gymao@GEOCITIES.COM)
Date: 02/26/98


I downloaded the one from the circlemud resources site.  Then I
pasted the stuff into the code.  Now I can sinnate a spell fine, but
the second spell I cast on me after I sinnate my first
(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;
    }

Can someone help me with this?


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