aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptSystem.h
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2016-09-20 13:23:21 +0200
committertreeston <treeston.mmoc@gmail.com>2016-09-20 13:23:21 +0200
commit4a1a460241acf511467decd92d2a30e19927d74d (patch)
treef7ae214e92e5e3dbf7c37af3a69fe31cbf73e911 /src/server/game/Scripting/ScriptSystem.h
parent4fa646c0b2ae3261e7fab249f4177900d4c8d013 (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.h')
-rw-r--r--src/server/game/Scripting/ScriptSystem.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/server/game/Scripting/ScriptSystem.h b/src/server/game/Scripting/ScriptSystem.h
index bd6b9a4a294..860ca08a3f3 100644
--- a/src/server/game/Scripting/ScriptSystem.h
+++ b/src/server/game/Scripting/ScriptSystem.h
@@ -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