Re: [CODE] Strange occurence

From: Ron Cole (rcole@EZY.NET)
Date: 04/08/98


>> >    if (portal == 0) {
>>
>> I think this should be -1 or NOTHING, but I'm not sure.
>>
>> >But the portal doesn't appear. Nothing happens, not even a log. What can
>> >be wrong?
>>
>> That wouldn't prevent it from loading unless the object doesn't exist.  Are you
>> calling this from somewhere?  The mud hour tick would be the place I think.
>>
>> Ron
>>
>
>I'm compiling under RedHat 5.0, which complains if you type NOTHING, -1,
>or NULL. I don't know why, but you out there might.

Actually, I think you were right, I was thinking about the vnum lookup
functions, read_object would return NULL if the object did not load, so that
part is right.  It's just matter of finding out why the code isn't being called
or isn't being called at the right time.

Ron


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