diff options
author | megamage <none@none> | 2009-02-23 11:11:50 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-23 11:11:50 -0600 |
commit | e425ba5837427a611f1b5b4856edd35c0e2adef7 (patch) | |
tree | 0de43adbf29e35632b24343590da0110fb11b4de /src/game/Unit.cpp | |
parent | 6395b4856ff124bffee716252295683976878fe1 (diff) |
*Send correct move flag to client.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 21a489f188c..8ba170a84f1 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -394,7 +394,7 @@ void Unit::SendMonsterMove(float NewPosX, float NewPosY, float NewPosZ, uint8 ty } //Movement Flags (0x0 = walk, 0x100 = run, 0x200 = fly/swim) - data << uint32(GetTypeId() == TYPEID_PLAYER ? MOVEMENTFLAG_WALK_MODE : MovementFlags); + data << uint32((MovementFlags & MOVEMENTFLAG_LEVITATING) ? MOVEFLAG_FLY : MOVEFLAG_WALK); data << Time; // Time in between points data << uint32(1); // 1 single waypoint |