1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-04-02 16:20:23 +00:00

Merge branch 'orphans_in_the_back' into 'master'

Append orphaned dialogue instead of always appending it

See merge request 
This commit is contained in:
Alexei Kotov 2022-06-06 09:37:18 +00:00
commit 5f700c7e7f

@ -102,9 +102,11 @@ namespace ESM
auto it = lookup->second.first; auto it = lookup->second.first;
mLookup[info.mId] = std::make_pair(mInfo.insert(++it, info), isDeleted); mLookup[info.mId] = std::make_pair(mInfo.insert(++it, info), isDeleted);
return;
} }
else
mLookup[info.mId] = std::make_pair(mInfo.insert(mInfo.end(), info), isDeleted);
} }
else
mLookup[info.mId] = std::make_pair(mInfo.insert(mInfo.begin(), info), isDeleted); mLookup[info.mId] = std::make_pair(mInfo.insert(mInfo.begin(), info), isDeleted);
} }