diff options
author | megamage <none@none> | 2009-05-24 18:16:43 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-24 18:16:43 -0500 |
commit | 6f2eebf2c34c7362abb637cba96f15128a4138e0 (patch) | |
tree | 1963e01555bd752b1d95dbe015e84f2fcdf8c936 /src/game/Unit.cpp | |
parent | 8140543de41c36945303627efbde518837b406b1 (diff) |
*Fix broken escort AI.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 7b6b65bbb5a..3835e822362 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -10081,7 +10081,7 @@ void Unit::SetInCombatState(bool PvP, Unit* enemy) if(GetTypeId() != TYPEID_PLAYER) { - if(GetMotionMaster()->GetMotionSlotType(MOTION_SLOT_IDLE) != IDLE_MOTION_TYPE) + //if(GetMotionMaster()->GetMotionSlotType(MOTION_SLOT_IDLE) != IDLE_MOTION_TYPE) ((Creature*)this)->SetHomePosition(GetPositionX(), GetPositionY(), GetPositionZ(), GetOrientation()); if(enemy) { |