mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-08 19:46:43 +00:00
Fix for Bug #2543. Spells magic effect id typo.
This commit is contained in:
parent
6803f95398
commit
538e550b2b
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ namespace CSMWorld
|
||||||
case 0:
|
case 0:
|
||||||
{
|
{
|
||||||
if (effect.mEffectID >=0 && effect.mEffectID < ESM::MagicEffect::Length)
|
if (effect.mEffectID >=0 && effect.mEffectID < ESM::MagicEffect::Length)
|
||||||
return effect.mRange;
|
return effect.mEffectID;
|
||||||
else
|
else
|
||||||
throw std::runtime_error("Magic effects ID unexpected value");
|
throw std::runtime_error("Magic effects ID unexpected value");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue