Quoting Mike Breuer <mbreuer@NEW.RR.COM>: > ----- Original Message ----- > From: "krenshala" <krenshala@JUMP.NET> > > But the only place I find top_of_world defined, > > it has a value of zero (0), which means... > > Then you're not looking hard enough. db.c, parse_room(..): > > case 'S': /* end of room */ > top_of_world = room_nr++; > > If you use olc, it's also incremented in there, as needed. It is used > to > store the index of the highest valid room in the world[] array. Also, > of > course, top_of_world + 1 == the size of the world[] array. > > Mike > This is exactly WHY I haven't been playing with the value of top_of_world: all these locations in which it is used. I -KNOW- top_of_world is why I am getting the comparison warnings, I just am having problems figuring out exactly where the rroot cause of the problem lies ... :( 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