Re: ch->next == ch... but not possible!

From: George (greerga@CIRCLEMUD.ORG)
Date: 12/01/97

On Mon, 1 Dec 1997, Chris Jacobson wrote:

>the character is being removed from the character_list, flagged "purged",
>and put into another list.  A loop later on runs through character_list,
>and lo and behold, that character is STILL in character_list, flagged
>"purged", AND points back to itself.

Did you do:
REMOVE_FROM_LIST(ch, character_list, next);

ch->next = purged_list;
purged_list = ch;

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/08/00 PST