diff options
| author | megamage <none@none> | 2009-03-21 10:11:29 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-21 10:11:29 -0600 |
| commit | 6a8c9c001dce3172e15b619128782eca6b3685da (patch) | |
| tree | c4483ab5328dd4c370fffee8aaf3a32ea6362e42 /src/game/Unit.cpp | |
| parent | a84e757793e6310c84af8b05f9b27f1ee5abd188 (diff) | |
*Set default movement as follow movement for charmed/pet when enterevademode.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
| -rw-r--r-- | src/game/Unit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 5b8eac9bf59..09557e93108 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -13111,6 +13111,7 @@ void Unit::RemoveCharmedOrPossessedBy(Unit *charmer) DeleteThreatList(); SetCharmerGUID(0); RestoreFaction(); + GetMotionMaster()->InitDefault(); if(possess) { |
