--- Valnir <[EMAIL PROTECTED]> wrote: > well, ours is in a .dat file and read in on load.. fread etc.. but I believe > it keeps the same structure as stock.. just dynamically updated via OLC. > > -V
If the skills are stored in memory the same as they are in stock, then it's in an array which is fine for qsort. The problem here is that he's trying to use qsort on the helpfiles which are stored in a linked list, and not an array. Thus the result is undefined behavior. ~Kender ===== -----BEGIN GEEK CODE BLOCK----- Version 3.1 GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$ P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@ b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++ ------END GEEK CODE BLOCK------ __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/

