diff options
author | Kudlaty <none@none> | 2009-10-31 03:35:34 +0100 |
---|---|---|
committer | Kudlaty <none@none> | 2009-10-31 03:35:34 +0100 |
commit | 22f349d2b50d8606aebc5468a8186c1287901585 (patch) | |
tree | 2ec1f4e3756c27bff0c63fe5137d34cc45ca4e23 /src | |
parent | 717f1aefc99e2bc73537dace2f2c6046aebf42a9 (diff) |
Clean up last commit
--HG--
branch : trunk
Diffstat (limited to 'src')
-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 3c0e8a94c20..9f2e3852a9d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -10617,7 +10617,7 @@ void Unit::SetInCombatState(bool PvP, Unit* enemy) // Set home position at place of engaging combat for escorted creatures if(( IsAIEnabled && ((Creature*)this)->AI()->IsEscorted() ) || GetMotionMaster()->GetCurrentMovementGeneratorType() == WAYPOINT_MOTION_TYPE || - ((Creature*)this)->GetMotionMaster()->GetCurrentMovementGeneratorType() == POINT_MOTION_TYPE) + GetMotionMaster()->GetCurrentMovementGeneratorType() == POINT_MOTION_TYPE) ((Creature*)this)->SetHomePosition(GetPositionX(), GetPositionY(), GetPositionZ(), GetOrientation()); if (enemy) |