*Fix a typo that broken quest death's challenge

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-13 16:15:22 -05:00
parent 8212baca88
commit deca044373

View File

@@ -1012,7 +1012,7 @@ struct TRINITY_DLL_DECL npc_death_knight_initiateAI : public SpellAI
{
if (m_bIsDuelInProgress && pDoneBy->IsControlledByPlayer())
{
if(pDoneBy->GetGUID() != m_uiDuelerGUID || pDoneBy->GetOwnerGUID() != m_uiDuelerGUID) // other players cannot help
if(pDoneBy->GetGUID() != m_uiDuelerGUID && pDoneBy->GetOwnerGUID() != m_uiDuelerGUID) // other players cannot help
uiDamage = 0;
else if(uiDamage >= m_creature->GetHealth())
{