Greetings,
Mark Garringer wrote:
>
> Ok, so I still seem to have some problems with my spoken language code. Any
> time you try to pass an invalid language type, it chokes is_abbrev and core
> dumps.
Without knowing your constants for certain, I can't be sure, but my
first guess is that this line:
> 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.
-Brian.
--
+---------------------------------------------------------------+
| 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