From aa84ce3f0dfacca1b85d7efa93b20a33b76d97e9 Mon Sep 17 00:00:00 2001 From: scrawl Date: Sat, 16 Nov 2013 14:44:31 +0100 Subject: [PATCH] Copy paste mistake (oops) --- apps/openmw/mwmechanics/magiceffects.hpp | 2 -- components/esm/loadmgef.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/apps/openmw/mwmechanics/magiceffects.hpp b/apps/openmw/mwmechanics/magiceffects.hpp index 9cdc27514..58f023eba 100644 --- a/apps/openmw/mwmechanics/magiceffects.hpp +++ b/apps/openmw/mwmechanics/magiceffects.hpp @@ -24,8 +24,6 @@ namespace MWMechanics int mId; int mArg; // skill or ability - // TODO: Add caster here for Absorb effects? - EffectKey(); EffectKey (int id, int arg = -1) : mId (id), mArg (arg) {} diff --git a/components/esm/loadmgef.cpp b/components/esm/loadmgef.cpp index 46e2a8555..f60191539 100644 --- a/components/esm/loadmgef.cpp +++ b/components/esm/loadmgef.cpp @@ -132,8 +132,6 @@ short MagicEffect::getResistanceEffect(short effect) short MagicEffect::getWeaknessEffect(short effect) { std::map effects; - effects[DisintegrateArmor] = Sanctuary; - effects[DisintegrateWeapon] = Sanctuary; for (int i=0; i<5; ++i) effects[DrainAttribute+i] = WeaknessToMagicka;