|
|
@ -70,8 +70,10 @@ void ESMStore::load(ESM::ESMReader &esm, Loading::Listener* listener)
|
|
|
|
|
|
|
|
|
|
|
|
if (it == mStores.end()) {
|
|
|
|
if (it == mStores.end()) {
|
|
|
|
if (n.val == ESM::REC_INFO) {
|
|
|
|
if (n.val == ESM::REC_INFO) {
|
|
|
|
|
|
|
|
std::string id = esm.getHNOString("INAM");
|
|
|
|
if (dialogue) {
|
|
|
|
if (dialogue) {
|
|
|
|
dialogue->mInfo.push_back(ESM::DialInfo());
|
|
|
|
dialogue->mInfo.push_back(ESM::DialInfo());
|
|
|
|
|
|
|
|
dialogue->mInfo.back().mId = id;
|
|
|
|
dialogue->mInfo.back().load(esm);
|
|
|
|
dialogue->mInfo.back().load(esm);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
std::cerr << "error: info record without dialog" << std::endl;
|
|
|
|
std::cerr << "error: info record without dialog" << std::endl;
|
|
|
|