Core/PacketIO: Updated and enabled CMSG_CHANGE_SEATS_ON_CONTROLLED_VEHICLE and updated structure of movement packet sent in CMSG_CAST_(PET_)SPELL

This commit is contained in:
Shauren
2013-04-11 01:14:32 +02:00
parent 238f7e9253
commit f370c4e4d6
5 changed files with 216 additions and 22 deletions

View File

@@ -51,10 +51,7 @@ void WorldSession::HandleClientCastFlags(WorldPacket& recvPacket, uint8 castFlag
uint8 hasMovementData;
recvPacket >> hasMovementData;
if (hasMovementData)
{
recvPacket.SetOpcode(Opcodes(recvPacket.read<uint32>()));
HandleMovementOpcodes(recvPacket);
}
}
else if (castFlags & 0x8) // Archaeology
{