diff options
| author | megamage <none@none> | 2009-02-26 20:35:40 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-02-26 20:35:40 -0600 |
| commit | 85d5d94e71e4ad2b49889253da1c2b1679050541 (patch) | |
| tree | 023c5bec611c75779ee5e4876c265febf749991f /src/game/Unit.h | |
| parent | 0f9238ecb1f0706320d71fd658aa6029a49fa6a9 (diff) | |
[7333] Refactoring DestinationHolder/Traveler/Unit::SendMonsterMoveWithSpeed code. Author: VladimirMangos
* Move common code in appropriate functions.
* Correct select speed and 2D/3D distance for creature/player walk/fly
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
| -rw-r--r-- | src/game/Unit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index c2c8c4bf403..3b43f3ba4cb 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1143,7 +1143,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject void SendMonsterMove(float NewPosX, float NewPosY, float NewPosZ, uint32 Time, Player* player = NULL); //void SendMonsterMove(float NewPosX, float NewPosY, float NewPosZ, uint8 type, uint32 MovementFlags, uint32 Time, Player* player = NULL); void SendMonsterMoveByPath(Path const& path, uint32 start, uint32 end); - void SendMonsterMoveWithSpeed(float x, float y, float z, uint32 MovementFlags, uint32 transitTime = 0, Player* player = NULL); + void SendMonsterMoveWithSpeed(float x, float y, float z, uint32 transitTime = 0, Player* player = NULL); void SendMonsterMoveWithSpeedToCurrentDestination(Player* player = NULL); virtual void MoveOutOfRange(Player &) { }; |
