Re: [CODE] question about top_of_world

From: krenshala (krenshala@jump.net)
Date: 12/13/01


From: Spike <btgspike@yahoo.com>

> >[I'm trying to clear up warnings about values always being true, and they
> >keep involving GET_ROOM_VNUM() and/or top_of_world.  I have changed
NOWHERE
> >(et al) to 65535 (zone vnums are unsigned) and I -think- that might be
part
> >of the problem. /: ]
> >
> Well, you could go through the checks and try something like...
>
> if (value == 65535) { return FALSE; }
>
> ...or something to that extent, know what I'm sayin'?
>
> -Spike

I think so.  Unfortunately, I'm still not sure WHY it's giving me these
warnings, as top_of_world seems to be (literally) variable. :(

     Larry

Larry Robinson
krenshala@jump.net
:wq

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/24/03 PDT