From 1fc5c0d6d7200048009f99c2cb4d3fd12858ed2f Mon Sep 17 00:00:00 2001 From: Neo2003 Date: Mon, 6 Oct 2008 04:48:59 -0500 Subject: [svn] * Little fix in RandomMovementGenerator * Updated to 6731 and 680 --HG-- branch : trunk rename : 6721-676 => 6731-680 --- src/bindings/scripts/include/sc_creature.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/bindings/scripts/include') diff --git a/src/bindings/scripts/include/sc_creature.cpp b/src/bindings/scripts/include/sc_creature.cpp index 4c9f7a385a2..8e18b0fc29e 100644 --- a/src/bindings/scripts/include/sc_creature.cpp +++ b/src/bindings/scripts/include/sc_creature.cpp @@ -35,8 +35,8 @@ void ScriptedAI::MoveInLineOfSight(Unit *who) if (!InCombat) { - Aggro(who); InCombat = true; + Aggro(who); } } } @@ -54,8 +54,8 @@ void ScriptedAI::AttackStart(Unit* who) if (!InCombat) { - Aggro(who); InCombat = true; + Aggro(who); } } } @@ -582,8 +582,8 @@ void Scripted_NoMovementAI::MoveInLineOfSight(Unit *who) if (!InCombat) { - Aggro(who); InCombat = true; + Aggro(who); } } } @@ -601,8 +601,8 @@ void Scripted_NoMovementAI::AttackStart(Unit* who) if (!InCombat) { - Aggro(who); InCombat = true; + Aggro(who); } } } -- cgit v1.2.3