aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-03-02 23:24:42 +0100
committerShauren <shauren.trinity@gmail.com>2023-03-02 23:24:42 +0100
commit0026706e8333c79f8baae341b94e65e1eac484ca (patch)
treef2a72f743a5034c3d557edb44e613553d1a5948b /src/server/scripts
parent7209f1cbf9881932ccff9cafc92f7abf86671674 (diff)
Core/Movement: Extend MovePoint with new arguments
* Forced speed * Speed selection mode (walk, run or default) * Distance from target point that is considered close enough to finalize movement
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp
index e531e6d1980..e87fc08d8a9 100644
--- a/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp
+++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp
@@ -242,7 +242,7 @@ struct boss_lord_marrowgar : public BossAI
{
if (a->GetMovementGeneratorType() == POINT_MOTION_TYPE)
{
- PointMovementGenerator<Creature> const* pointMovement = dynamic_cast<PointMovementGenerator<Creature> const*>(a);
+ PointMovementGenerator const* pointMovement = dynamic_cast<PointMovementGenerator const*>(a);
return pointMovement && pointMovement->GetId() == POINT_TARGET_BONESTORM_PLAYER;
}
return false;