diff --git a/components/esm/debugprofile.cpp b/components/esm/debugprofile.cpp index bd0fdd80b..6c05fac2a 100644 --- a/components/esm/debugprofile.cpp +++ b/components/esm/debugprofile.cpp @@ -10,20 +10,20 @@ unsigned int ESM::DebugProfile::sRecordId = REC_DBGP; void ESM::DebugProfile::load (ESMReader& esm) { mDescription = esm.getHNString ("DESC"); - mScript = esm.getHNString ("SCRP"); + mScriptText = esm.getHNString ("SCRP"); esm.getHNT (mFlags, "FLAG"); } void ESM::DebugProfile::save (ESMWriter& esm) const { esm.writeHNCString ("DESC", mDescription); - esm.writeHNCString ("SCRP", mScript); + esm.writeHNCString ("SCRP", mScriptText); esm.writeHNT ("FLAG", mFlags); } void ESM::DebugProfile::blank() { mDescription.clear(); - mScript.clear(); + mScriptText.clear(); mFlags = 0; } diff --git a/components/esm/debugprofile.hpp b/components/esm/debugprofile.hpp index dc3658f7d..b54e8ff5f 100644 --- a/components/esm/debugprofile.hpp +++ b/components/esm/debugprofile.hpp @@ -23,7 +23,7 @@ namespace ESM std::string mDescription; - std::string mScript; + std::string mScriptText; unsigned int mFlags;