1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 20:23:54 +00:00

Update comment on merging levelled lists

This commit is contained in:
scrawl 2015-02-05 04:31:50 +01:00
parent 01b4177872
commit cff0127ce7

View file

@ -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++)
{ {