Re: [Code] Adding more exits and auto patching

From: Karl B Buchner (zerker@juno.com)
Date: 02/09/02


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



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