Your probly also not running olc 2.0? Where it loads the skill_table from a data file.
Meaning it can't be a const, cause its loaded. ----- Original Message ----- From: "Jason Gauthier" <[EMAIL PROTECTED]> To: "'Dale Kingston'" <[EMAIL PROTECTED]>; <[email protected]> Sent: Thursday, July 24, 2003 1:23 PM Subject: RE: Freeing question > The skill table, at least in my mud, is a const. > It's not allocated at runtime and cannot be released. > > > > > > -----Original Message----- > > From: Dale Kingston [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 24, 2003 2:01 PM > > To: [email protected] > > > > Ok, I have a question. I'm working on moving all my spells > > from my skill_table to a spell_table. Now I hit an odd part > > of this. I'm trying to have it just covert automaticly. Boots > > up notices there is no spells.txt file so it goes and counts > > how many spells are in the skill table. Allocated a spell > > table, and then I have it copy each spell from the skill > > table into the spell table. That part is easy, my problem is > > now with the skill table. > > Once I create the new skill_table and then move all the > > skills into it do I just free(skill_table); or would have to > > go through and free_string all the strings in the table and > > then free it? Or is there an easyer way to do this? > > > > > > -- > > ROM mailing list > > [email protected] > > http://www.rom.org/cgi-bin/mailman/listinfo/rom > > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom >

