diff options
author | megamage <none@none> | 2009-02-26 20:19:32 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-26 20:19:32 -0600 |
commit | bc54e91afff9b9a53902439441fa2e63e3da1a9a (patch) | |
tree | 8da3e7a256d036f6e8ef59b3ad2f9e5d88a99a71 /src/game/Unit.cpp | |
parent | 23ef8a6dd6d286c4ad165729ad7efd221f1e744e (diff) |
*A temp fix for the bug of walking after flight.
--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 6f63d8c9825..0fbeb5a9f7d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -452,7 +452,7 @@ void Unit::SendMonsterMoveByPath(Path const& path, uint32 start, uint32 end) data << getMSTime(); data << uint8( 0 ); - data << uint32(((GetUnitMovementFlags() & MOVEMENTFLAG_LEVITATING) || isInFlight())? MOVEFLAG_FLY : MOVEFLAG_WALK); + data << uint32(((GetUnitMovementFlags() & MOVEMENTFLAG_LEVITATING) || isInFlight())? (MOVEFLAG_FLY|MOVEFLAG_WALK) : MOVEFLAG_WALK); data << uint32( traveltime ); data << uint32( pathSize ); data.append( (char*)path.GetNodes(start), pathSize * 4 * 3 ); |