1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-05 17:49:42 +00:00

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

This prevents non-continuous spell GFX from immediately vanishing.
This commit is contained in:
David Cernat 2021-10-16 02:00:05 +02:00
parent 3e582199fb
commit efc0b88058

View file

@ -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
activeSpells.addSpell(activeSpell.id, activeSpell.isStackingSpell, activeSpell.params.mEffects, activeSpell.params.mDisplayName, casterActorId, timestamp, false);
}
reloadPtr();
}
void DedicatedActor::removeSpellsActive()