[Client] Don't reload Ptr for DedicatedActor after adding active spells

This prevents non-continuous spell GFX from immediately vanishing.
pull/593/head
David Cernat 3 years ago
parent 3e582199fb
commit efc0b88058

@ -373,8 +373,6 @@ void DedicatedActor::addSpellsActive()
// Don't do a check for a spell's existence, because active effects from potions need to be applied here too // Don't do a check for a spell's existence, because active effects from potions need to be applied here too
activeSpells.addSpell(activeSpell.id, activeSpell.isStackingSpell, activeSpell.params.mEffects, activeSpell.params.mDisplayName, casterActorId, timestamp, false); activeSpells.addSpell(activeSpell.id, activeSpell.isStackingSpell, activeSpell.params.mEffects, activeSpell.params.mDisplayName, casterActorId, timestamp, false);
} }
reloadPtr();
} }
void DedicatedActor::removeSpellsActive() void DedicatedActor::removeSpellsActive()

Loading…
Cancel
Save