PCH build fix. Again.

(( Alright, you made me waste 20 minutes of my life on a full nonPCH rebuild of the core now. ))
(( I hope you're happy. ))
This commit is contained in:
treeston authored and Aokromes committed 2016-09-20 18:37:20 +02:00
1 parent d17d83f6e5
commit 7e55e193e5
2 files changed
+9 -4

No files matched your search

@@ -20,6 +20,7 @@
#include "ObjectMgr.h"
#include "DatabaseEnv.h"
#include "ScriptMgr.h"
#include "Creature.h"
SystemMgr* SystemMgr::instance()
{
@@ -153,3 +154,8 @@ void SystemMgr::LoadScriptSplineChains()
TC_LOG_INFO("server.loading", ">> Loaded spline chain data for %u chains, consisting of %u splines with %u waypoints in %u ms", chainCount, splineCount, wpCount, GetMSTimeDiffToNow(oldMSTime));
}
}
SplineChain const* SystemMgr::GetSplineChain(Creature const* who, uint8 id) const
{
return GetSplineChain(who->GetEntry(), id);
}
+3 -4
View File
@@ -8,6 +8,8 @@
#include "ScriptMgr.h"
#include "SplineChain.h"
class Creature;
#define TEXT_SOURCE_RANGE -1000000 //the amount of entries each text source has available
/// @todo find better namings and definitions.
@@ -79,10 +81,7 @@ class TC_GAME_API SystemMgr
return &it->second;
}
SplineChain const* GetSplineChain(Creature const* who, uint8 id) const
{
return GetSplineChain(who->GetEntry(), id);
}
SplineChain const* GetSplineChain(Creature const* who, uint8 id) const;
protected:
PointMoveMap m_mPointMoveMap; //coordinates for waypoints