aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-26 20:19:32 -0600
committermegamage <none@none>2009-02-26 20:19:32 -0600
commitbc54e91afff9b9a53902439441fa2e63e3da1a9a (patch)
tree8da3e7a256d036f6e8ef59b3ad2f9e5d88a99a71 /src/game/Unit.cpp
parent23ef8a6dd6d286c4ad165729ad7efd221f1e744e (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.cpp2
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 );