From 985d1f17e0bd26ee1888fe75d6c80fbce0fd8b6c Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 1 Dec 2019 14:58:06 +0200 Subject: [PATCH] [Client] Use correct magnitude for active effect created for summons --- apps/openmw/mwmp/ObjectList.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwmp/ObjectList.cpp b/apps/openmw/mwmp/ObjectList.cpp index bd6e00577..9f1c8d4f0 100644 --- a/apps/openmw/mwmp/ObjectList.cpp +++ b/apps/openmw/mwmp/ObjectList.cpp @@ -453,8 +453,9 @@ void ObjectList::spawnObjects(MWWorld::CellStore* cellStore) std::vector 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",