mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
compose info record IDs from actual record ID and parent topic ID (to make sure IDs are unique)
This commit is contained in:
parent
2d4a6c0edf
commit
c545b3682a
@ -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"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user