Re: [OLC/DG] Spells[]

From: Daniel A. Koepke (dkoepke@california.com)
Date: 05/02/99


On Sun, 2 May 1999, Robert Alexander Rossow wrote:

> Ok i have finaly patched in OasisOLC and DG scripting. (the latest
> version of it, to my knowlege) I keep running into this linking error
> and i think it has something to do with
>     extern const char *spells[];

As has been discussed a thousand times before, bpl15 did away with the
spells[] array for spell names.  It's now stored in spell_info[].name, so
replace all calls to "spells[blah]" to "spell_info[blah].name" -- if it's
not in the wtFAQ yet, it needs to be...:)

-dak


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST