Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Server: Add missing returns.
Browse files Browse the repository at this point in the history
  • Loading branch information
AriDEV3 committed Oct 31, 2023
1 parent bfeebc2 commit 3d241b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/server/game/Spells/Auras/SpellAuraEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5533,7 +5533,10 @@ void AuraEffect::HandlePeriodicTriggerSpellAuraTick(Unit* target, Unit* caster)
}
// Emblazon Runeblade
case 51769:
{
caster->CastSpell(target, triggerSpellId, false);
return;
}
}
}

Expand Down
6 changes: 5 additions & 1 deletion src/server/game/Spells/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3538,7 +3538,11 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
}
// Emblazon Runeblade
case 51770:
m_caster->CastSpell(unitTarget, 51771, false);
{
m_caster->CastSpell(unitTarget, 51771, false);
return;
}

// Death Knight Initiate Visual
case 51519:
{
Expand Down

0 comments on commit 3d241b4

Please sign in to comment.