Core/PacketIO: Fix broken CMSG_RESURRECT_RESPONSE structure after 9fe6756cf2

This commit is contained in:
Shauren
2020-07-17 21:06:45 +02:00
parent 896b68d5c2
commit 83e0a1b944
2 changed files with 3 additions and 3 deletions

View File

@@ -204,7 +204,7 @@ void WorldPackets::Misc::WorldTeleport::Read()
WorldPacket const* WorldPackets::Misc::CorpseReclaimDelay::Write()
{
_worldPacket << Remaining;
_worldPacket << uint32(Remaining);
return &_worldPacket;
}

View File

@@ -358,7 +358,7 @@ namespace WorldPackets
class PreRessurect : public ServerPacket
{
public:
PreRessurect() : ServerPacket(SMSG_PRE_RESURRECT, 16) { }
PreRessurect() : ServerPacket(SMSG_PRE_RESURRECT, 8) { }
WorldPacket const* Write() override;
@@ -393,7 +393,7 @@ namespace WorldPackets
void Read() override;
ObjectGuid Resurrecter;
uint32 Response = 0;
uint8 Response = 0;
};
}
}