diff options
author | Shauren <shauren.trinity@gmail.com> | 2021-12-28 19:25:42 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-28 19:25:42 +0100 |
commit | 3c0baab57616733ff0e3b94ceb215f9bd78239ea (patch) | |
tree | e0457e5346a6a2c298b005c67cf25c7ec4cd1eb6 /src | |
parent | 8029035b80b3f07527affb1cc44350bb78790d28 (diff) |
Core/Spells: Allow targeting script hooks to work with TARGET_DEST_DYNOBJ_ENEMY, TARGET_DEST_DYNOBJ_ALLY, TARGET_DEST_DYNOBJ_NONE, TARGET_DEST_DEST
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 16ea09eb50c..10b03a50ffe 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -1480,7 +1480,7 @@ void Spell::SelectImplicitDestDestTargets(SpellEffectInfo const& spellEffectInfo case TARGET_DEST_DYNOBJ_ALLY: case TARGET_DEST_DYNOBJ_NONE: case TARGET_DEST_DEST: - return; + break; case TARGET_DEST_DEST_GROUND: dest._position.m_positionZ = m_caster->GetMapHeight(dest._position.GetPositionX(), dest._position.GetPositionY(), dest._position.GetPositionZ()); break; |