Core/PacketIO: Fixed CMSG_CAST_SPELL/CMSG_PET_CAST_SPELL/CMSG_USE_ITEM/CMSG_USE_TOY structure

This commit is contained in:
Shauren
2025-09-04 16:50:25 +02:00
parent dbabd458fc
commit 07a0f3bbdc

View File

@@ -236,7 +236,7 @@ ByteBuffer& operator>>(ByteBuffer& buffer, SpellCastRequest& request)
for (SpellExtraCurrencyCost& optionalCurrency : request.OptionalCurrencies)
buffer >> optionalCurrency;
buffer >> Bits<5>(request.SendCastFlags);
buffer >> Bits<6>(request.SendCastFlags);
buffer >> OptionalInit(request.MoveUpdate);
buffer >> BitsSize<2>(request.Weight);
buffer >> OptionalInit(request.CraftingOrderID);