We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b86057 commit 36cb2d4Copy full SHA for 36cb2d4
src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
@@ -476,7 +476,7 @@ struct npc_eye_of_acherus : public ScriptedAI
476
break;
477
case EVENT_LAUNCH_TOWARDS_DESTINATION:
478
{
479
- std::function<void(Movement::MoveSplineInit&)> initializer = [=](Movement::MoveSplineInit& init)
+ std::function<void(Movement::MoveSplineInit&)> initializer = [=, me = me](Movement::MoveSplineInit& init)
480
481
Movement::PointsArray path(EyeOfAcherusPath, EyeOfAcherusPath + EyeOfAcherusPathSize);
482
init.MovebyPath(path);
0 commit comments