Core/Movement: Fix a DB spline chain overload I missed in 2170541

(cherry picked from commit 3ec1b2f27ea7ecdaeb111958bf6f42fbf9ea191d)
This commit is contained in:
treeston
2017-03-02 20:51:25 +01:00
committed by joschiwald
parent 23fb555391
commit 019fc08feb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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