Core/Object: Update Update_type enum, remove BuildMovementUpdateBlock and write the correct (?) number of bits in BuildMovementPack
TODO: Send map before count
This commit is contained in:
1 parent
e8523b1c3c
commit
0bc3b2d50e
3 files changed
+5
-19
No files matched your search
@@ -17139,8 +17139,8 @@ void Unit::BuildMovementPacket(ByteBuffer *data) const
|
||||
break;
|
||||
}
|
||||
|
||||
*data << uint32(GetUnitMovementFlags()); // movement flags
|
||||
*data << uint16(m_movementInfo.flags2); // 2.3.0
|
||||
(*data).writeBits(GetUnitMovementFlags(), 30);
|
||||
(*data).writeBits(m_movementInfo.flags2, 12);
|
||||
*data << uint32(getMSTime()); // time
|
||||
*data << GetPositionX();
|
||||
*data << GetPositionY();
|
||||
|
||||
Reference in new issue
Block a user