diff --git a/components/esm/loadingr.cpp b/components/esm/loadingr.cpp index 13d66a6324..e39d12a4eb 100644 --- a/components/esm/loadingr.cpp +++ b/components/esm/loadingr.cpp @@ -13,7 +13,6 @@ void Ingredient::load(ESMReader &esm) esm.getHNT(mData, "IRDT", 56); mScript = esm.getHNOString("SCRI"); mIcon = esm.getHNOString("ITEX"); -/* // horrible hack to fix broken data in records for (int i=0; i<4; ++i) { @@ -36,7 +35,6 @@ void Ingredient::load(ESMReader &esm) mData.mSkills[i] = -1; } } -*/ } void Ingredient::save(ESMWriter &esm) diff --git a/components/esm/loadmgef.cpp b/components/esm/loadmgef.cpp index c18833e01b..bcd1dfaf5e 100644 --- a/components/esm/loadmgef.cpp +++ b/components/esm/loadmgef.cpp @@ -3,6 +3,8 @@ #include "esm_reader.hpp" #include "esm_writer.hpp" +#include + namespace { const int NumberOfHardcodedFlags = 143; @@ -36,10 +38,9 @@ void MagicEffect::load(ESMReader &esm) esm.getHNT(mIndex, "INDX"); esm.getHNT(mData, "MEDT", 36); -/* if (mIndex>=0 && mIndex=0 && mIndex