diff options
author | maximius <none@none> | 2009-09-17 01:07:22 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-17 01:07:22 -0700 |
commit | 1be0e825ce36c72209242e6b14dc86e3a7e972a7 (patch) | |
tree | 711bebaaaeae72018d8280e04fa35491a22558e7 /src/game/Unit.cpp | |
parent | f7601aa00e7a46af677bde607f1078a98fd127e6 (diff) |
*Backed out changeset f2d288ace33d
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f3371a1ebb4..6424d918983 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -10529,8 +10529,8 @@ void Unit::SetInCombatState(bool PvP, Unit* enemy) if(GetTypeId() != TYPEID_PLAYER) { // Set home position at place of engaging combat for escorted creatures - //if(((Creature*)this)->IsAIEnabled) - //if (((Creature *)this)->AI()->IsEscorted()) + if(((Creature*)this)->IsAIEnabled) + if (((Creature *)this)->AI()->IsEscorted()) ((Creature*)this)->SetHomePosition(GetPositionX(), GetPositionY(), GetPositionZ(), GetOrientation()); if(enemy) { |