mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 07:45:31 +00:00
Merge branch 'master' into cc9cii
This commit is contained in:
commit
3514dac9bc
2 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -143,7 +143,7 @@ namespace ESM
|
|||
|
||||
void NPC::blank()
|
||||
{
|
||||
mNpdtType = 0;
|
||||
mNpdtType = NPC_DEFAULT;
|
||||
mNpdt52.mLevel = 0;
|
||||
mNpdt52.mStrength = mNpdt52.mIntelligence = mNpdt52.mWillpower = mNpdt52.mAgility =
|
||||
mNpdt52.mSpeed = mNpdt52.mEndurance = mNpdt52.mPersonality = mNpdt52.mLuck = 0;
|
||||
|
|
Loading…
Reference in a new issue