From 4a1a460241acf511467decd92d2a30e19927d74d Mon Sep 17 00:00:00 2001 From: treeston Date: Tue, 20 Sep 2016 13:23:21 +0200 Subject: 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. )) --- src/server/game/Scripting/ScriptSystem.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/server/game/Scripting/ScriptSystem.cpp') 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); +} -- cgit v1.2.3