From ac4a9932598270f07050f65912cbbde6284727dd Mon Sep 17 00:00:00 2001 From: Paul Coene Date: Wed, 10 Mar 2021 00:07:30 -0500 Subject: [PATCH] Remove unneeded calls to DoAnim() for spells/bardsong (#1290) * Removed DoAnim() call from spells and bard song. Tested on rof2 and titanium Co-authored-by: Noudess --- zone/spells.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index 742878bbc..b4e001ad2 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -2389,8 +2389,6 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, ui } } - DoAnim(spells[spell_id].CastingAnim, 0, true, IsClient() ? FilterPCSpells : FilterNPCSpells); - // Set and send the nimbus effect if this spell has one int NimbusEffect = GetNimbusEffect(spell_id); if(NimbusEffect) { @@ -2640,8 +2638,6 @@ bool Mob::ApplyNextBardPulse(uint16 spell_id, Mob *spell_target, CastingSlot slo } } - //do we need to do this??? - DoAnim(spells[spell_id].CastingAnim, 0, true, IsClient() ? FilterPCSpells : FilterNPCSpells); if(IsClient()) CastToClient()->CheckSongSkillIncrease(spell_id);