Update comment on merging levelled lists

celladd
scrawl 10 years ago
parent 01b4177872
commit cff0127ce7

@ -24,11 +24,12 @@ void LevelledListBase::load(ESMReader &esm)
return; return;
} }
// TODO: Merge with an existing lists here. This can be done // If this levelled list was already loaded by a previous content file,
// simply by adding the lists together, making sure that they are // we overwrite the list. Merging lists should probably be left to external tools,
// sorted by level. A better way might be to exclude repeated // with the limited amount of information there is in the records, all merging methods
// items. Also, some times we don't want to merge lists, just // will be flawed in some way. For a proper fix the ESM format would have to be changed
// overwrite. Figure out a way to give the user this option. // to actually track list changes instead of including the whole list for every file
// that does something with that list.
for (size_t i = 0; i < mList.size(); i++) for (size_t i = 0; i < mList.size(); i++)
{ {

Loading…
Cancel
Save