Fix for Bug #2543. Spells magic effect id typo.

c++11
cc9cii 10 years ago
parent 6803f95398
commit 538e550b2b

@ -311,7 +311,7 @@ namespace CSMWorld
case 0:
{
if (effect.mEffectID >=0 && effect.mEffectID < ESM::MagicEffect::Length)
return effect.mRange;
return effect.mEffectID;
else
throw std::runtime_error("Magic effects ID unexpected value");
}

Loading…
Cancel
Save