Hello again all. Im having a problem with a small piece of code thats with the buildwalk patch. Im as before using bpl15 of circle. It will not compile with the error: olc.c:1258: parse error before "zone" olc.c: In function `redit_find_new_vnum': olc.c:1261: `zone' undeclared (first use in this function) Here is the code: room_vnum redit_find_new_vnum(zone_rnum zone) { room_vnum vnum; room_rnum rnum = real_room((vnum = zone_table[zone].number * 100)); if (rnum != NOWHERE) { for(;;) { if (vnum > zone_table[zone].top) return(NOWHERE); if (rnum > top_of_world || world[rnum].number > vnum) break; rnum++; vnum++; } } return(vnum); } Ofcourse this is probably a simple fix but with my current C knowledge Im having trouble finding out exactly what these return. Thanks, Ken Southern -- +---------------------------------------------------------------+ | 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/26/03 PDT