Re: Spoken Language Code

From: Mark Garringer (zizazat@hotmail.com)
Date: 10/21/02


> >     for (i = MIN_LANGUAGES; i < MAX_SKILLS; i++) {
>
>         is causing this line:
>
> >       if (is_abbrev(arg, languages[i-MIN_LANGUAGES]) && GET_SKILL(ch,i)
> > 60) {
>
>         to overrun your languages array.  Are there really  (MIN_LANGUAGES
>- MAX_SKILLS) members to that array?  If not, there's >your problem.

You are right on the money here! I already had a MAX_LANGUAGES define, but
why MAX_SKILLS was used there instead I'm not sure. I just changed it to
MAX_LANGUAGES (which IS the right size) and no problems.

Thanks for the help!

--Ziz

_________________________________________________________________
Choose an Internet access plan right for you -- try MSN!
http://resourcecenter.msn.com/access/plans/default.asp

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