Re: bug..?

From: Nocturnal Occulto (ronnyi@ifi.uio.no)
Date: 04/08/99


George Greer wrote:

> On Fri, 26 Mar 1999, Nocturnal Occulto wrote:
>
> >Anybody noticed a bug while casting scrolls with multiple damage spells
> >on a mobile. If the first spell kills the mob, the game crash when the
> >code tries to cast the remainingones....
> >
> >Ive tried checking if tch != NULL in mag_object_magic, but the mobile
> >object seems to excist long enough to the for loop that is calling
> >call_magic tries to fire another spell.
>
> The mob doesn't exist but the pointer still points there.
>
> This was fixed in bpl14 I think...
>

If the mob is removed with extract_char wouldnt the pointer point to NULL?
INoc



>
> --
> George Greer, greerga@circlemud.org | Genius may have its limitations, but
> http://mouse.van.m-l.org/  (mostly) | stupidity is not thus handicapped.
> http://www.van.m-l.org/CircleMUD/   |                  -- Elbert Hubbard
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>      +------------------------------------------------------------+

--
--------------- Codito, ergo sum - "I code, therefore I am" --------------------

http://birk113.studby.uio.no/~ronnyi                           ronnyi@ifi.uio.no

---------------- In a world without fences, who need gates? --------------------


     +------------------------------------------------------------+
     | 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 : 12/15/00 PST