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:
1 parent
e50b04f657
commit
aa31f350b3
2 files changed
+5
-1
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user