Re: [BPL11] fastaggr

From: George (greerga@CIRCLEMUD.ORG)
Date: 08/05/98


On Wed, 5 Aug 1998, John Evans wrote:

>In perform_move() if someone hits a DT, they are killed and extracted. No
>more ch! If you'll look at your code below, you'll see that 'ch' is used
>all over the place. That means that you are trying to interact with a
>character that is no longer in the game and the MUD doesn't like doing
>that.
>
>after perform_move() do something like:
>
>if (!*ch)
>  return;

That isn't safe either, 'ch' won't be NULL when they're extracted.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://patches.van.ml.org/          | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


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