Fix SMSG_GMTICKET_GETTICKET structure, by havenard. Closes issue #1419
--HG-- branch : trunk
This commit is contained in:
@@ -146,6 +146,7 @@ void WorldSession::SendGMTicketGetTicket(uint32 status, char const* text)
|
|||||||
int len = text ? strlen(text) : 0;
|
int len = text ? strlen(text) : 0;
|
||||||
WorldPacket data(SMSG_GMTICKET_GETTICKET, (4+len+1+4+2+4+4));
|
WorldPacket data(SMSG_GMTICKET_GETTICKET, (4+len+1+4+2+4+4));
|
||||||
data << uint32(status); // standard 0x0A, 0x06 if text present
|
data << uint32(status); // standard 0x0A, 0x06 if text present
|
||||||
|
data << uint32(1); // unk flags, if 0, can't edit the ticket
|
||||||
if (status == 6)
|
if (status == 6)
|
||||||
{
|
{
|
||||||
data << text; // ticket text
|
data << text; // ticket text
|
||||||
|
|||||||
Reference in New Issue
Block a user