diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-04-03 16:31:39 +0200 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2024-05-28 16:33:10 +0200 |
commit | 3bba97dd528acd539649b514152dd06f7789cbc1 (patch) | |
tree | d25db1c20d9395d9dd26273eb4145b3cb79aceb5 /src | |
parent | 3390bb80789b964187a507e1b9d64c63e9ec70ea (diff) |
Fix codestyle
(cherry picked from commit f1b7ca1a91a93410b900da832df0a189f8fb3717)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/AI/SmartScripts/SmartScript.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 7aa912e2c50..63e9b123b96 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -590,7 +590,6 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u continue; } - SpellCastResult result = SPELL_FAILED_BAD_TARGETS; if (me) { @@ -688,7 +687,6 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u if (e.action.cast.castFlags & SMARTCAST_INTERRUPT_PREVIOUS) tempLastInvoker->InterruptNonMeleeSpells(false); - tempLastInvoker->CastSpell(target, e.action.cast.spell, args); TC_LOG_DEBUG("scripts.ai", "SmartScript::ProcessAction:: SMART_ACTION_INVOKER_CAST: Invoker {} casts spell {} on target {} with castflags {}", tempLastInvoker->GetGUID(), e.action.cast.spell, target->GetGUID(), e.action.cast.castFlags); |