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
@@ -16,13 +16,19 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "DynamicObject.h"
#include "Common.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "Log.h"
#include "Map.h"
#include "ObjectAccessor.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SpellAuras.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "Transport.h"
#include "Unit.h"
#include "UpdateData.h"
#include "World.h"
DynamicObject::DynamicObject(bool isWorldObject) : WorldObject(isWorldObject),
@@ -236,3 +242,8 @@ void DynamicObject::UnbindFromCaster()
_caster->_UnregisterDynObject(this);
_caster = NULL;
}
SpellInfo const* DynamicObject::GetSpellInfo() const
{
return sSpellMgr->GetSpellInfo(GetSpellId());
}