Removed Spell Limit
Hi all,
I have updated the spell loading function to load as many spells that are in the file. Here's the code so far. I haven't been able to test it yet due to some DB problems I'm having.
Attached is the updated LoadSPDat. You also need to change
SPDat_Spell_Struct spells[SPDAT_RECORDS];
to
SPDat_Spell_Struct *spells;
at the top of net.cpp and change
extern SPDat_Spell_Struct spells[SPDAT_RECORDS];
to
extern SPDat_Spell_Struct *spells;
in any files that have it.
Hope that makes sense. I am working on speeding up the loading, but I've been a little busy with Valentines Day.
-Valdain
EDIT: I have removed this file. See my next post down for the polished version.
|