mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 12:07:51 +03:00
removed redundant mScript field in ESM::StartScript
This commit is contained in:
parent
3b8d709583
commit
bf92d5cde9
5 changed files with 5 additions and 18 deletions
|
@ -23,7 +23,7 @@ namespace ESM
|
|||
hasData = true;
|
||||
break;
|
||||
case ESM::FourCC<'N','A','M','E'>::value:
|
||||
mScript = esm.getHString();
|
||||
mId = esm.getHString();
|
||||
hasName = true;
|
||||
break;
|
||||
default:
|
||||
|
@ -38,7 +38,7 @@ namespace ESM
|
|||
void StartScript::save(ESMWriter &esm) const
|
||||
{
|
||||
esm.writeHNString("DATA", mData);
|
||||
esm.writeHNString("NAME", mScript);
|
||||
esm.writeHNString("NAME", mId);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ struct StartScript
|
|||
static unsigned int sRecordId;
|
||||
|
||||
std::string mData;
|
||||
std::string mId, mScript;
|
||||
std::string mId;
|
||||
|
||||
// Load a record and add it to the list
|
||||
void load(ESMReader &esm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue