1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-22 03:40:49 +00:00

Merge branch 'DoNotCopyFullDialogue' into 'master'

Do not copy full dialogue as we only want to return its id

See merge request OpenMW/openmw!856
This commit is contained in:
Evil Eye 2021-06-26 11:59:37 +00:00
commit 1f658209f8

View File

@ -1072,7 +1072,7 @@ namespace MWWorld
else else
{ {
found->second.loadData(esm, isDeleted); found->second.loadData(esm, isDeleted);
dialogue = found->second; dialogue.mId = found->second.mId;
} }
return RecordId(dialogue.mId, isDeleted); return RecordId(dialogue.mId, isDeleted);