*Fix chain heal order bug.
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user