From 850dbb55a537ffebc66db873dd39de946c43aebe Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Fri, 26 Sep 2014 13:36:54 +0200 Subject: [PATCH] improved magic effect IDs --- components/esm/loadmgef.cpp | 29 +++++++++++++++++++++++++++-- components/esm/loadmgef.hpp | 2 ++ 2 files changed, 29 insertions(+), 2 deletions(-) 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