forked from mirror/openmw-tes3mp
store info records in dialogue records
This commit is contained in:
parent
d47de55ce9
commit
6b1b3b20fd
2 changed files with 6 additions and 0 deletions
|
@ -1,7 +1,10 @@
|
|||
#ifndef _ESM_DIAL_H
|
||||
#define _ESM_DIAL_H
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "esm_reader.hpp"
|
||||
#include "loadinfo.hpp"
|
||||
|
||||
namespace ESM {
|
||||
|
||||
|
@ -23,6 +26,7 @@ struct Dialogue
|
|||
};
|
||||
|
||||
char type;
|
||||
std::vector<DialInfo> mInfo;
|
||||
|
||||
void load(ESMReader &esm)
|
||||
{
|
||||
|
|
|
@ -39,6 +39,8 @@ void ESMStore::load(ESMReader &esm)
|
|||
{
|
||||
ESM::DialInfo info;
|
||||
info.load (esm);
|
||||
|
||||
dialogue->mInfo.push_back (info);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue