mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Core/PacketIO: updated CMSG_SUMMON_RESPONSE
This commit is contained in:
@@ -511,17 +511,12 @@ void WorldSession::HandleMovementAckMessage(WorldPackets::Movement::MovementAckM
|
||||
GetPlayer()->ValidateMovementInfo(&movementAck.Ack.movementInfo);
|
||||
}
|
||||
|
||||
void WorldSession::HandleSummonResponseOpcode(WorldPacket& recvData)
|
||||
void WorldSession::HandleSummonResponseOpcode(WorldPackets::Movement::SummonResponse& packet)
|
||||
{
|
||||
if (!_player->IsAlive() || _player->IsInCombat())
|
||||
return;
|
||||
|
||||
ObjectGuid summoner_guid;
|
||||
bool agree;
|
||||
recvData >> summoner_guid;
|
||||
recvData >> agree;
|
||||
|
||||
_player->SummonIfPossible(agree);
|
||||
_player->SummonIfPossible(packet.Accept);
|
||||
}
|
||||
|
||||
void WorldSession::HandleSetCollisionHeightAck(WorldPackets::Movement::MoveSetCollisionHeightAck& setCollisionHeightAck)
|
||||
|
||||
Reference in New Issue
Block a user