Re: [CODE] Strange occurence

From: George (greerga@CIRCLEMUD.ORG)
Date: 04/08/98


On Wed, 8 Apr 1998, Ron Cole wrote:

>>    if (portal == 0) {
>
>I think this should be -1 or NOTHING, but I'm not sure.

I think he's checking for NULL with a straight 0 which is allowed but I
don't like it because you think the function is numeric then.

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

My guess is that the time isn't midnight when he calls the function.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- 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