diff options
author | treeston <treeston.mmoc@gmail.com> | 2016-09-21 01:29:35 +0200 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-03-02 20:51:25 +0100 |
commit | 019fc08feb5e927f46375f8dee6ffe9b43bd3385 (patch) | |
tree | b0dae99e9cb7f3f17ec3df068f88593540845277 /src | |
parent | 23fb555391e9b7baea8bbb21db45f091548dacee (diff) |
Core/Movement: Fix a DB spline chain overload I missed in 2170541
(cherry picked from commit 3ec1b2f27ea7ecdaeb111958bf6f42fbf9ea191d)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Scripting/ScriptSystem.cpp | 2 | ||||
-rw-r--r-- | src/server/game/Scripting/ScriptSystem.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Scripting/ScriptSystem.cpp b/src/server/game/Scripting/ScriptSystem.cpp index 3e67a44384c..bbacce7ce26 100644 --- a/src/server/game/Scripting/ScriptSystem.cpp +++ b/src/server/game/Scripting/ScriptSystem.cpp @@ -157,7 +157,7 @@ void SystemMgr::LoadScriptSplineChains() } } -SplineChain const* SystemMgr::GetSplineChain(Creature const* who, uint8 id) const +SplineChain const* SystemMgr::GetSplineChain(Creature const* who, uint16 id) const { return GetSplineChain(who->GetEntry(), id); } diff --git a/src/server/game/Scripting/ScriptSystem.h b/src/server/game/Scripting/ScriptSystem.h index 7bce7b2e69e..baa23d09684 100644 --- a/src/server/game/Scripting/ScriptSystem.h +++ b/src/server/game/Scripting/ScriptSystem.h @@ -95,7 +95,7 @@ class TC_GAME_API SystemMgr return &it->second; } - SplineChain const* GetSplineChain(Creature const* who, uint8 id) const; + SplineChain const* GetSplineChain(Creature const* who, uint16 id) const; protected: PointMoveMap m_mPointMoveMap; //coordinates for waypoints |