diff --git a/components/esm/loaddial.hpp b/components/esm/loaddial.hpp index 4c80fc783..c435eb276 100644 --- a/components/esm/loaddial.hpp +++ b/components/esm/loaddial.hpp @@ -1,7 +1,10 @@ #ifndef _ESM_DIAL_H #define _ESM_DIAL_H +#include + #include "esm_reader.hpp" +#include "loadinfo.hpp" namespace ESM { @@ -23,6 +26,7 @@ struct Dialogue }; char type; + std::vector mInfo; void load(ESMReader &esm) { diff --git a/components/esm_store/store.cpp b/components/esm_store/store.cpp index 622676689..c43855873 100644 --- a/components/esm_store/store.cpp +++ b/components/esm_store/store.cpp @@ -39,6 +39,8 @@ void ESMStore::load(ESMReader &esm) { ESM::DialInfo info; info.load (esm); + + dialogue->mInfo.push_back (info); } else {