diff --git a/apps/openmw/mwmechanics/activespells.cpp b/apps/openmw/mwmechanics/activespells.cpp index 285cdcb62..ddb6a3353 100644 --- a/apps/openmw/mwmechanics/activespells.cpp +++ b/apps/openmw/mwmechanics/activespells.cpp @@ -232,18 +232,16 @@ namespace MWMechanics */ if (sendPacket) { - bool isStackingSpell = it == end() || stack; - if (this == &MWMechanics::getPlayer().getClass().getCreatureStats(MWMechanics::getPlayer()).getActiveSpells()) { - mwmp::Main::get().getLocalPlayer()->sendSpellsActiveAddition(id, isStackingSpell, params); + mwmp::Main::get().getLocalPlayer()->sendSpellsActiveAddition(id, stack, params); } else { MWWorld::Ptr actorPtr = MWBase::Environment::get().getWorld()->searchPtrViaActorId(getActorId()); if (mwmp::Main::get().getCellController()->isLocalActor(actorPtr)) - mwmp::Main::get().getCellController()->getLocalActor(actorPtr)->sendSpellsActiveAddition(id, isStackingSpell, params); + mwmp::Main::get().getCellController()->getLocalActor(actorPtr)->sendSpellsActiveAddition(id, stack, params); } } /*