forked from mirror/openmw-tes3mp
renamed the script field in DebugProfile to improve consistency
This commit is contained in:
parent
232c6c9ad3
commit
f468c53281
2 changed files with 4 additions and 4 deletions
|
@ -10,20 +10,20 @@ unsigned int ESM::DebugProfile::sRecordId = REC_DBGP;
|
||||||
void ESM::DebugProfile::load (ESMReader& esm)
|
void ESM::DebugProfile::load (ESMReader& esm)
|
||||||
{
|
{
|
||||||
mDescription = esm.getHNString ("DESC");
|
mDescription = esm.getHNString ("DESC");
|
||||||
mScript = esm.getHNString ("SCRP");
|
mScriptText = esm.getHNString ("SCRP");
|
||||||
esm.getHNT (mFlags, "FLAG");
|
esm.getHNT (mFlags, "FLAG");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ESM::DebugProfile::save (ESMWriter& esm) const
|
void ESM::DebugProfile::save (ESMWriter& esm) const
|
||||||
{
|
{
|
||||||
esm.writeHNCString ("DESC", mDescription);
|
esm.writeHNCString ("DESC", mDescription);
|
||||||
esm.writeHNCString ("SCRP", mScript);
|
esm.writeHNCString ("SCRP", mScriptText);
|
||||||
esm.writeHNT ("FLAG", mFlags);
|
esm.writeHNT ("FLAG", mFlags);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ESM::DebugProfile::blank()
|
void ESM::DebugProfile::blank()
|
||||||
{
|
{
|
||||||
mDescription.clear();
|
mDescription.clear();
|
||||||
mScript.clear();
|
mScriptText.clear();
|
||||||
mFlags = 0;
|
mFlags = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ namespace ESM
|
||||||
|
|
||||||
std::string mDescription;
|
std::string mDescription;
|
||||||
|
|
||||||
std::string mScript;
|
std::string mScriptText;
|
||||||
|
|
||||||
unsigned int mFlags;
|
unsigned int mFlags;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue