@@ -17930,14 +17930,7 @@ bool Unit::SetCharmedBy(Unit* charmer, CharmType type, AuraApplication const* au
|
|||||||
|
|
||||||
if (GetTypeId() == TYPEID_UNIT)
|
if (GetTypeId() == TYPEID_UNIT)
|
||||||
{
|
{
|
||||||
if (MovementGenerator* movementGenerator = GetMotionMaster()->GetMotionSlot(MOTION_SLOT_IDLE))
|
GetMotionMaster()->MoveIdle();
|
||||||
{
|
|
||||||
movementGenerator->Pause(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
GetMotionMaster()->Clear(MOTION_SLOT_ACTIVE);
|
|
||||||
|
|
||||||
StopMoving();
|
|
||||||
|
|
||||||
if (charmer->GetTypeId() == TYPEID_PLAYER &&
|
if (charmer->GetTypeId() == TYPEID_PLAYER &&
|
||||||
charmer->getClass() == CLASS_WARLOCK)
|
charmer->getClass() == CLASS_WARLOCK)
|
||||||
|
|||||||
Reference in New Issue
Block a user