Yes its their and prototyped at the top after all the externs.: #if MORE_EXITS extern char *AEdirs[]; #endif >From: Karl B Buchner <zerker@JUNO.COM> >Reply-To: Circle Discussion List <CIRCLE@post.queensu.ca> >To: CIRCLE@post.queensu.ca >Subject: Re: [CIRCLE] [Code] Adding more exits and auto patching >Date: Sat, 9 Feb 2002 10:04:41 -0500 > > > In function `do_auto_exits': > > /home/Maria Bonita/SphereMUD/src/act.informative.c:348: undefined > > reference > > to ` > > AEdirs' > >All that I can think of is making sure that AEdoors is 1) there 2) >prototyped >and 3) complete. > >I don't see any other problems with the code right off. > >Also, I would change slen += sprintf(buf, "%s%s ", buf, AEdirs[door]); >to slen += sprintf(buf + slen, "%s ", AEdirs[door]); >you are already keeping track of the length of buf, you might as well use >that info and save some processor time. > >^Blaize^ >________________________________________________________________ >GET INTERNET ACCESS FROM JUNO! >Juno offers FREE or PREMIUM Internet access for less! >Join Juno today! For your FREE software, visit: >http://dl.www.juno.com/get/web/. > >-- > +---------------------------------------------------------------+ > | 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/ | > +---------------------------------------------------------------+ _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- +---------------------------------------------------------------+ | 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/25/03 PDT