Re: [coding] DT's and players EQ

From: Daniel Koepke (
Date: 01/06/97

On Mon, 6 Jan 1997, Robert wrote:

>     while (ch->carrying) {
>         foolz_objs = ch->carrying;
>         obj_to_room(foolz_objs, RDR);
>     }

Change to:

  while (ch->carrying) {
    obj_to_room(ch->carrying, RDR);

The 'foolz_obj' thing, I believe, is completely unneccessary.  The
problem was that you were putting the object in the room, but you
weren't taking it away from the player (thus, ch->carrying [and,
hence, foolz_obj] was always the same [eg., always != NULL, and you'd
get an infinite loop]).

Daniel Koepke
Forgive me father, for I am sin.

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

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