From c545b3682ac27f5c70e02ed66fc673c0a842df00 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Tue, 5 Nov 2013 12:57:55 +0100 Subject: [PATCH] compose info record IDs from actual record ID and parent topic ID (to make sure IDs are unique) --- apps/opencs/model/world/infocollection.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/opencs/model/world/infocollection.cpp b/apps/opencs/model/world/infocollection.cpp index 96d2f74173..1be186f760 100644 --- a/apps/opencs/model/world/infocollection.cpp +++ b/apps/opencs/model/world/infocollection.cpp @@ -34,8 +34,7 @@ void CSMWorld::InfoCollection::load (const Info& record, bool base) void CSMWorld::InfoCollection::load (ESM::ESMReader& reader, bool base, const ESM::Dialogue& dialogue) { /// \todo put records into proper order - /// \todo adjust ID - std::string id = reader.getHNOString ("INAM"); + std::string id = dialogue.mId + "#" + reader.getHNOString ("INAM"); if (reader.isNextSub ("DELE")) {