mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +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)
|
void CSMWorld::InfoCollection::load (ESM::ESMReader& reader, bool base, const ESM::Dialogue& dialogue)
|
||||||
{
|
{
|
||||||
/// \todo put records into proper order
|
/// \todo put records into proper order
|
||||||
/// \todo adjust ID
|
std::string id = dialogue.mId + "#" + reader.getHNOString ("INAM");
|
||||||
std::string id = reader.getHNOString ("INAM");
|
|
||||||
|
|
||||||
if (reader.isNextSub ("DELE"))
|
if (reader.isNextSub ("DELE"))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user