diff options
author | megamage <none@none> | 2009-03-18 15:29:25 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-18 15:29:25 -0600 |
commit | dbd69bda613faed2cc30ba95de5c07235ae73653 (patch) | |
tree | 77e8db135875fe3c0a5512550a2e4c0c8f73d9ae /src | |
parent | f11d41b9ceb0fabe8055b2e798a31aac019ba3c7 (diff) |
*Fix chain heal. Heal target even when it has full health.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index a0b6b79a15b..dd63041e63c 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1361,8 +1361,8 @@ void Spell::SearchChainTarget(std::list<Unit*> &TagUnitMap, float max_range, uin { SearchAreaTarget(tempUnitMap, max_range, PUSH_TARGET_CENTER, SPELL_TARGETS_ALLY); tempUnitMap.sort(ChainHealingOrder(m_caster)); - if(cur->GetHealth() == cur->GetMaxHealth() && tempUnitMap.size()) - cur = tempUnitMap.front(); + //if(cur->GetHealth() == cur->GetMaxHealth() && tempUnitMap.size()) + // cur = tempUnitMap.front(); } else SearchAreaTarget(tempUnitMap, max_range, PUSH_TARGET_CENTER, TargetType); |