aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2025-10-22 15:21:17 +0200
committerccrs <ccrs@users.noreply.github.com>2025-10-22 15:21:17 +0200
commit0af0e80b633361fba3b7f633f70b47c5a27e7ce0 (patch)
tree0b12283ffb60a47750c9b62dd646775688c82186 /src/server
parentf92e7416a5cc6a1afeb935f8e2319ae6163a672a (diff)
Build: remove unused variable
fatal error: lambda capture 'me' is not used [-Wunused-lambda-capture]
Diffstat (limited to 'src/server')
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
index 32f4d8a0890..8eb6412bf55 100644
--- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp
@@ -484,7 +484,7 @@ struct npc_eye_of_acherus : public ScriptedAI
break;
case EVENT_LAUNCH_TOWARDS_DESTINATION:
{
- std::function<void(Movement::MoveSplineInit&)> initializer = [=, me = me](Movement::MoveSplineInit& init)
+ std::function<void(Movement::MoveSplineInit&)> initializer = [=](Movement::MoveSplineInit& init)
{
Movement::PointsArray path(EyeOfAcherusPath, EyeOfAcherusPath + EyeOfAcherusPathSize);
init.MovebyPath(path);