Re: char_player_data problem, again...

From: George Greer (greerga@circlemud.org)
Date: 09/23/99


On Fri, 24 Sep 1999, Emil Nilimaa wrote:

>#0 do_oasis (ch=0x82e2f70, argument=0xbffff891 "", cmd=205, subcmd=0)
>   at oasis.c:148

v2.0:
oasis.c:148  if (d->olc) {

Where:
          d = ch->desc;

So it will crash if 'ch->desc' is NULL.  It shouldn't be.  'print ch->desc'
in GDB.

--
George Greer            | My desktop computer project code.
greerga@circlemud.org   | http://moving.m-l.org/~greerga/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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