diff options
author | ccrs <ccrs@users.noreply.github.com> | 2019-01-10 22:51:47 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-11-21 14:17:23 +0100 |
commit | 1c5287032affb1a402b0a6091b75997ef56e556c (patch) | |
tree | bdcd689d566f71623713afc34862ccc441797e16 /src/server/game/Movement/MotionMaster.h | |
parent | 90cce65d468590a184114cd7415c8de8a8478f74 (diff) |
Core/Movement: correct logic wrongly ported in 2a84562dc8
I'm referencing line 97 from ChaseMovementGenerator.
That commit introduced a modification in this use case:
- Chasing target is not my current victim, I should stop moving till it is my victim again
Changed To:
- Chasing target is not my current vicitm, I should stop chasing
My correction:
- I dont care about the relation of my current victim and my chasing target, I'm commanded to chase, something will tell me to stop chasing
--> Most likely: evade, new attackstart, etc.
the rest are just minor changes
(cherry picked from commit 9080e7863c28df7dc1c2af321964776e7b59e41a)
Diffstat (limited to 'src/server/game/Movement/MotionMaster.h')
-rw-r--r-- | src/server/game/Movement/MotionMaster.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Movement/MotionMaster.h b/src/server/game/Movement/MotionMaster.h index 2fc2135b603..4c0afcfe492 100644 --- a/src/server/game/Movement/MotionMaster.h +++ b/src/server/game/Movement/MotionMaster.h @@ -105,7 +105,7 @@ class TC_GAME_API MotionMaster bool Empty() const; uint32 Size() const; - std::vector<MovementGeneratorInformation> GetMovementGeneratorsInformation() const; + std::vector<MovementGeneratorInformation> const GetMovementGeneratorsInformation() const; MovementSlot GetCurrentSlot() const; MovementGenerator* GetCurrentMovementGenerator() const; MovementGeneratorType GetCurrentMovementGeneratorType() const; |