diff options
author | treeston <treeston.mmoc@gmail.com> | 2016-09-20 13:23:21 +0200 |
---|---|---|
committer | treeston <treeston.mmoc@gmail.com> | 2016-09-20 13:23:21 +0200 |
commit | 4a1a460241acf511467decd92d2a30e19927d74d (patch) | |
tree | f7ae214e92e5e3dbf7c37af3a69fe31cbf73e911 /src/server/game/Scripting/ScriptSystem.cpp | |
parent | 4fa646c0b2ae3261e7fab249f4177900d4c8d013 (diff) |
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. ))
Diffstat (limited to 'src/server/game/Scripting/ScriptSystem.cpp')
-rw-r--r-- | src/server/game/Scripting/ScriptSystem.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/Scripting/ScriptSystem.cpp b/src/server/game/Scripting/ScriptSystem.cpp index ff81f315d9f..63a8e6783bf 100644 --- a/src/server/game/Scripting/ScriptSystem.cpp +++ b/src/server/game/Scripting/ScriptSystem.cpp @@ -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); +} |