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
>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, | Genius may have its limitations, but          | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST