Core/Game: Include cleanup part 5
* ObjectMgr.h * Player.h * Unit.h * G3D should no longer propagate everywhere from Spline/MotionMaster
This commit is contained in:
@@ -38,12 +38,15 @@
|
||||
#include "Group.h"
|
||||
#include "InstanceSaveMgr.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "Item.h"
|
||||
#include "Log.h"
|
||||
#include "LootMgr.h"
|
||||
#include "LootPackets.h"
|
||||
#include "MiscPackets.h"
|
||||
#include "MotionMaster.h"
|
||||
#include "MovementPackets.h"
|
||||
#include "MoveSpline.h"
|
||||
#include "MoveSplineInit.h"
|
||||
#include "ObjectAccessor.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "Opcodes.h"
|
||||
@@ -10845,6 +10848,11 @@ void Unit::SendPetAIReaction(ObjectGuid guid)
|
||||
owner->ToPlayer()->SendDirectMessage(packet.Write());
|
||||
}
|
||||
|
||||
void Unit::propagateSpeedChange()
|
||||
{
|
||||
GetMotionMaster()->propagateSpeedChange();
|
||||
}
|
||||
|
||||
///----------End of Pet responses methods----------
|
||||
|
||||
void Unit::StopMoving()
|
||||
|
||||
Reference in New Issue
Block a user