Bug Alert - page_string

From: Angus Mezick (amezick@EDGIL.COM)
Date: 10/30/98


If you page the background story of the mud,
d->character->char_specials.screensize will be undefined and
cause the mud to go into an infinite loop randomly. I put in
the following:
if(!d->character)
     screensize=23;
else if(d->original)
     screensize=d->original->char_specials.screensize -2;
else
     screensize=d->character->char_specials.screensize -2;
screensize=MAX(13,MIN(screensize,120));

I don't know if you have the screensize, just something
to be careful of.

--Angus


     +------------------------------------------------------------+
     | 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