mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 09:39:41 +00:00
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
|
#ifndef _ESM_DIAL_H
|
||||||
#define _ESM_DIAL_H
|
#define _ESM_DIAL_H
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include "esm_reader.hpp"
|
#include "esm_reader.hpp"
|
||||||
|
#include "loadinfo.hpp"
|
||||||
|
|
||||||
namespace ESM {
|
namespace ESM {
|
||||||
|
|
||||||
|
@ -23,6 +26,7 @@ struct Dialogue
|
||||||
};
|
};
|
||||||
|
|
||||||
char type;
|
char type;
|
||||||
|
std::vector<DialInfo> mInfo;
|
||||||
|
|
||||||
void load(ESMReader &esm)
|
void load(ESMReader &esm)
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,6 +39,8 @@ void ESMStore::load(ESMReader &esm)
|
||||||
{
|
{
|
||||||
ESM::DialInfo info;
|
ESM::DialInfo info;
|
||||||
info.load (esm);
|
info.load (esm);
|
||||||
|
|
||||||
|
dialogue->mInfo.push_back (info);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue