1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-21 02:41:36 +00:00

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

This commit is contained in:
CedricMocquillon 2021-05-13 23:02:26 +02:00
parent d843ec321e
commit 1d362029ce

View file

@ -1095,7 +1095,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);