Core/PacketIO: Fixed CMSG_CAST_SPELL/CMSG_PET_CAST_SPELL/CMSG_USE_ITEM/CMSG_USE_TOY structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/07a0f3bbdc038bc496c02df7480a0b2b58c6e973)
This commit is contained in:
@@ -1931,7 +1931,7 @@ namespace Game.Networking.Packets
|
|||||||
for (var i = 0; i < optionalCurrenciesCount; ++i)
|
for (var i = 0; i < optionalCurrenciesCount; ++i)
|
||||||
OptionalCurrencies[i].Read(data);
|
OptionalCurrencies[i].Read(data);
|
||||||
|
|
||||||
SendCastFlags = data.ReadBits<uint>(5);
|
SendCastFlags = data.ReadBits<uint>(6);
|
||||||
bool hasMoveUpdate = data.HasBit();
|
bool hasMoveUpdate = data.HasBit();
|
||||||
var weightCount = data.ReadBits<uint>(2);
|
var weightCount = data.ReadBits<uint>(2);
|
||||||
bool hasCraftingOrderID = data.HasBit();
|
bool hasCraftingOrderID = data.HasBit();
|
||||||
|
|||||||
Reference in New Issue
Block a user