diff options
author | megamage <none@none> | 2008-12-24 14:42:24 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-24 14:42:24 -0600 |
commit | a65bf58497579e5f9123fc4fc645a60741aebcef (patch) | |
tree | 1559e54efd415dd19a6fbcc5924c711cde4be400 | |
parent | bd2ded228d4f3d4e45f7fa6a715d4cb66b3e0762 (diff) |
*Fix fishing.
--HG--
branch : trunk
-rw-r--r-- | src/game/Spell.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index b3930a85520..c2276a24960 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2416,8 +2416,9 @@ void Spell::_handle_immediate_phase() { if(spellmgr.EffectTargetType[m_spellInfo->Effect[j]] == SPELL_REQUIRE_DEST) { - if(m_targets.HasDest()) - HandleEffects(m_originalCaster, NULL, NULL, j); + if(!m_targets.HasDest()) + m_targets.setDestination(m_caster, false); + HandleEffects(m_originalCaster, NULL, NULL, j); } else if(spellmgr.EffectTargetType[m_spellInfo->Effect[j]] == SPELL_REQUIRE_NONE) HandleEffects(m_originalCaster, NULL, NULL, j); |