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:
Shauren
2017-06-04 01:00:45 +02:00
parent ec72a59b08
commit b453e12423
442 changed files with 3521 additions and 2850 deletions
+4 -1
View File
@@ -24,13 +24,16 @@ EndScriptData */
#include "ScriptMgr.h"
#include "Chat.h"
#include "DB2Stores.h"
#include "Log.h"
#include "ObjectMgr.h"
#include "Pet.h"
#include "Player.h"
#include "RBAC.h"
#include "ReputationMgr.h"
#include "SpellMgr.h"
#include "SpellPackets.h"
#include "WorldSession.h"
class modify_commandscript : public CommandScript
{
@@ -322,7 +325,7 @@ public:
modData.ModifierValue = float(val);
spellMod.ModifierData.push_back(modData);
packet.Modifiers.push_back(spellMod);
target->GetSession()->SendPacket(packet.Write());
target->SendDirectMessage(packet.Write());
return true;
}