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