Fix in outgoing MSG_QUERY_NEXT_MAIL_TIME (the new mail notification icon next to the mini map): do not show the name of a player asociated with the mail sender GUID if the mail is not from a player (messagetype != MAIL_NORMAL).
--HG-- branch : trunk
This commit is contained in:
+4
-1
@@ -751,7 +751,10 @@ void WorldSession::HandleQueryNextMailTime(WorldPacket & /*recv_data*/ )
|
||||
if (now < m->deliver_time)
|
||||
continue;
|
||||
|
||||
data << uint64(m->sender); // sender guid
|
||||
if (m->messageType)
|
||||
data << uint64(m->sender); // player guid
|
||||
else
|
||||
data << uint32(m->sender); // creature entry
|
||||
|
||||
switch(m->messageType)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user