Fix waypoint movement removing flying animation for creatures

Fix flying creatures always moving forward ( maybe use flag only when really moving? )

--HG--
branch : trunk
This commit is contained in:
thenecromancer committed 2010-04-03 12:39:02 +02:00
1 parent e50b04f657
commit aa31f350b3
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -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