mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-02 07:07:29 +01:00
Core/SmartAI: Load paths by their id now that SAI doesn't use a separate database table as waypoints source
(cherry picked from commit b93791255c)
This commit is contained in:
@@ -71,7 +71,7 @@ void SmartAI::StartPath(uint32 pathId/* = 0*/, bool repeat/* = false*/, Unit* in
|
||||
me->ReplaceAllNpcFlags(UNIT_NPC_FLAG_NONE);
|
||||
}
|
||||
|
||||
me->GetMotionMaster()->MovePath(*path, _repeatWaypointPath);
|
||||
me->GetMotionMaster()->MovePath(pathId, _repeatWaypointPath);
|
||||
}
|
||||
|
||||
WaypointPath const* SmartAI::LoadPath(uint32 entry)
|
||||
|
||||
Reference in New Issue
Block a user