On Mon, 17 Aug 1998, Kevin Doherty wrote: >If ch->in_room is equal to X, wouldn't world[X].people _have_ to be >non-null, as presumably if ch thinks its in room X, room X thinks it >contains ch. I think the correct solution (though I have no source at hand >so I could be wrong) would be: Didn't notice the [ch->inroom] part. Otherwise it would work. (If it worked with the inroom part, something is seriously wrong.) > if (ch->next_in_room == NULL) { You may not be the first character in the room. So try num_pc_in_room() or whatever it's called. :) -- George Greer, greerga@circlemud.org | Genius may have its limitations, but http://mouse.van.ml.org/ (not done) | 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