aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-01-08 00:26:08 +0100
committerShauren <shauren.trinity@gmail.com>2025-01-08 00:26:08 +0100
commitdebbed0159fec031b4596295448e43d0fe071a01 (patch)
tree3e859ac84d63f14027b164ac5c1ca0950479138a /src/server/scripts
parentb32ba71045e97fc8142d24a6bec6fcbcdc2b5784 (diff)
Core/AreaTriggers: Don't suppress TimeToTarget changes in values update on movement start
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp b/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp
index 26ca7bd0126..871c4d33bef 100644
--- a/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp
+++ b/src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp
@@ -2957,7 +2957,7 @@ struct at_anduin_wrynn_wicked_star : AreaTriggerAI
splinePoints.push_back(PositionToVector3(at->GetPosition()));
float timeToTarget = at->GetDistance(destPos.GetPositionX(), destPos.GetPositionY(), destPos.GetPositionZ()) * 2 / GetWickedStarSpeed(at->GetMap()->GetDifficultyID()) * 1000;
- at->InitSplines(std::move(splinePoints), timeToTarget);
+ at->InitSplines(splinePoints, timeToTarget);
}
}
@@ -3021,7 +3021,7 @@ struct at_anduin_wrynn_empowered_wicked_star : public at_anduin_wrynn_wicked_sta
splinePoints.push_back(PositionToVector3(destPos));
float timeToTarget = at->GetDistance(destPos.GetPositionX(), destPos.GetPositionY(), destPos.GetPositionZ()) / EMPOWERED_WICKED_STAR_SPEED * 1000;
- at->InitSplines(std::move(splinePoints), timeToTarget);
+ at->InitSplines(splinePoints, timeToTarget);
}
void OnInitialize() override