mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 09:45:35 +00:00
Merge branch 'orphans_in_the_back' into 'master'
Append orphaned dialogue instead of always appending it See merge request OpenMW/openmw!1981
This commit is contained in:
commit
5f700c7e7f
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue