mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 19:53:53 +00:00
Update comment on merging levelled lists
This commit is contained in:
parent
01b4177872
commit
cff0127ce7
1 changed files with 6 additions and 5 deletions
|
@ -24,11 +24,12 @@ void LevelledListBase::load(ESMReader &esm)
|
|||
return;
|
||||
}
|
||||
|
||||
// TODO: Merge with an existing lists here. This can be done
|
||||
// simply by adding the lists together, making sure that they are
|
||||
// sorted by level. A better way might be to exclude repeated
|
||||
// items. Also, some times we don't want to merge lists, just
|
||||
// overwrite. Figure out a way to give the user this option.
|
||||
// If this levelled list was already loaded by a previous content file,
|
||||
// we overwrite the list. Merging lists should probably be left to external tools,
|
||||
// with the limited amount of information there is in the records, all merging methods
|
||||
// will be flawed in some way. For a proper fix the ESM format would have to be changed
|
||||
// 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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue