store info records in dialogue records

actorid
Marc Zinnschlag 15 years ago
parent d47de55ce9
commit 6b1b3b20fd

@ -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…
Cancel
Save