diff options
author | megamage <none@none> | 2009-02-16 17:11:27 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-16 17:11:27 -0600 |
commit | 7762087e7d33921d6b21d57d266e66c78c5d54f4 (patch) | |
tree | 5fafc094e7d29558f37621c88de75ec3e9ec63ca /src | |
parent | 5ded6c8df4920acbc14b6b21dd2d68a54e99011a (diff) |
*Fix chain heal order bug.
--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 4ebd405e16e..4a05ac0d30c 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1315,9 +1315,9 @@ struct ChainHealingOrder : public std::binary_function<const Unit*, const Unit*, int32 ChainHealingHash(Unit const* Target) const { - if (Target == MainTarget) + /*if (Target == MainTarget) return 0; - else if (Target->GetTypeId() == TYPEID_PLAYER && MainTarget->GetTypeId() == TYPEID_PLAYER && + else*/ if (Target->GetTypeId() == TYPEID_PLAYER && MainTarget->GetTypeId() == TYPEID_PLAYER && ((Player const*)Target)->IsInSameRaidWith((Player const*)MainTarget)) { if (Target->GetHealth() == Target->GetMaxHealth()) |