diff --git a/components/esm/loadmgef.cpp b/components/esm/loadmgef.cpp index e6951b5c9..cbdca3e31 100644 --- a/components/esm/loadmgef.cpp +++ b/components/esm/loadmgef.cpp @@ -1,6 +1,7 @@ #include "loadmgef.hpp" #include +#include #include @@ -192,8 +193,7 @@ void MagicEffect::load(ESMReader &esm) { esm.getHNT(mIndex, "INDX"); - if (mIndex>=0 && mIndex=0 && index