diff options
author | thenecromancer <none@none> | 2010-04-03 12:39:02 +0200 |
---|---|---|
committer | thenecromancer <none@none> | 2010-04-03 12:39:02 +0200 |
commit | aa31f350b35b3c0e6721e3de173a532107efdffa (patch) | |
tree | 95b4795403066bf782fd7b1619e2075fb48c8cb9 /src/game/Unit.cpp | |
parent | e50b04f6570b21797c9c25ad29c65f61feb7ac74 (diff) |
Fix waypoint movement removing flying animation for creatures
Fix flying creatures always moving forward ( maybe use flag only when really moving? )
--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 07a62e97a27..4fa18fa2604 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -15945,7 +15945,7 @@ void Unit::BuildMovementPacket(ByteBuffer *data) const { case TYPEID_UNIT: if (canFly()) - const_cast<Unit*>(this)->AddUnitMovementFlag(MOVEMENTFLAG_FORWARD | MOVEMENTFLAG_LEVITATING); + const_cast<Unit*>(this)->AddUnitMovementFlag(MOVEMENTFLAG_LEVITATING); break; case TYPEID_PLAYER: // remove unknown, unused etc flags for now |