Re: [NEWBIE] [CODE] Buildwalk (find_target_room)

From: Thomas Arp (t_arp@stofanet.dk)
Date: 02/19/03


A couple of days old, I hope you already have found the bug..

From: "Kenneth Southern" <methos@FIRST-RULE.NET>
> 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));
>
Make sure zone_rnum is correctly typedef'd in structs.h.
A strange error, though, since room_vnum doesn't give any problems.
Btw., I'm assuming the first line is line 1258.

Welcor

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