diff options
| author | megamage <none@none> | 2009-01-16 19:34:49 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-01-16 19:34:49 -0600 |
| commit | 0f150881a12e7c7936e9672dc1a7b25778a65589 (patch) | |
| tree | 550f517822a7108fd4e47e4a14e2cf45684ab373 /src/bindings/scripts/include | |
| parent | ba4338783abb39dcee772511a61d671e6c0256ab (diff) | |
*Do not let target get in combat until hit by attacker.
--HG--
branch : trunk
Diffstat (limited to 'src/bindings/scripts/include')
| -rw-r--r-- | src/bindings/scripts/include/sc_creature.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bindings/scripts/include/sc_creature.cpp b/src/bindings/scripts/include/sc_creature.cpp index 12992eedc52..0caa102d56d 100644 --- a/src/bindings/scripts/include/sc_creature.cpp +++ b/src/bindings/scripts/include/sc_creature.cpp @@ -86,7 +86,6 @@ void ScriptedAI::AttackStart(Unit* who, bool melee) { m_creature->AddThreat(who, 0.0f); m_creature->SetInCombatWith(who); - who->SetInCombatWith(m_creature); if (!InCombat) { @@ -110,7 +109,6 @@ void ScriptedAI::AttackStart(Unit* who) { m_creature->AddThreat(who, 0.0f); m_creature->SetInCombatWith(who); - who->SetInCombatWith(m_creature); if (!InCombat) { @@ -823,7 +821,6 @@ void Scripted_NoMovementAI::AttackStart(Unit* who) { m_creature->AddThreat(who, 0.0f); m_creature->SetInCombatWith(who); - who->SetInCombatWith(m_creature); if (!InCombat) { |
