mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
fix(Scripts/DB): Terenthis quest chain (#9714)
This commit is contained in:
@@ -255,6 +255,12 @@ void SmartAI::PausePath(uint32 delay, bool forced)
|
||||
|
||||
me->StopMoving();
|
||||
me->GetMotionMaster()->MoveIdle();//force stop
|
||||
|
||||
auto waypoint = mWayPoints->find(mCurrentWPID);
|
||||
if (float orientation = waypoint->second->o)
|
||||
{
|
||||
me->SetFacingTo(orientation);
|
||||
}
|
||||
}
|
||||
GetScript()->ProcessEventsFor(SMART_EVENT_WAYPOINT_PAUSED, nullptr, mCurrentWPID, GetScript()->GetPathId());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user