From 1d362029ce43462a6b686a989979c39b08c94275 Mon Sep 17 00:00:00 2001 From: CedricMocquillon Date: Thu, 13 May 2021 23:02:26 +0200 Subject: [PATCH] Do not copy full dialogue as we only want ot return its id --- apps/openmw/mwworld/store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwworld/store.cpp b/apps/openmw/mwworld/store.cpp index fb66b0a1d7..4da683fc1b 100644 --- a/apps/openmw/mwworld/store.cpp +++ b/apps/openmw/mwworld/store.cpp @@ -1095,7 +1095,7 @@ namespace MWWorld else { found->second.loadData(esm, isDeleted); - dialogue = found->second; + dialogue.mId = found->second.mId; } return RecordId(dialogue.mId, isDeleted);