mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-02 01:21:08 -04:00
[Client] Use correct magnitude for active effect created for summons
This commit is contained in:
parent
9a772d737f
commit
985d1f17e0
@ -453,8 +453,9 @@ void ObjectList::spawnObjects(MWWorld::CellStore* cellStore)
|
|||||||
|
|
||||||
std::vector<ESM::ActiveEffect> activeEffects;
|
std::vector<ESM::ActiveEffect> activeEffects;
|
||||||
ESM::ActiveEffect activeEffect;
|
ESM::ActiveEffect activeEffect;
|
||||||
activeEffect.mDuration = baseObject.summonDuration;
|
|
||||||
activeEffect.mEffectId = baseObject.summonEffectId;
|
activeEffect.mEffectId = baseObject.summonEffectId;
|
||||||
|
activeEffect.mDuration = baseObject.summonDuration;
|
||||||
|
activeEffect.mMagnitude = 1;
|
||||||
activeEffects.push_back(activeEffect);
|
activeEffects.push_back(activeEffect);
|
||||||
|
|
||||||
LOG_APPEND(TimedLog::LOG_INFO, "- adding spell from ObjectList with id %s and effect %i",
|
LOG_APPEND(TimedLog::LOG_INFO, "- adding spell from ObjectList with id %s and effect %i",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user