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:
Machiavelli
2010-02-15 10:17:33 +01:00
parent 486c00891b
commit 9fe3a501cc
+4 -1
View File
@@ -751,7 +751,10 @@ void WorldSession::HandleQueryNextMailTime(WorldPacket & /*recv_data*/ )
if (now < m->deliver_time) if (now < m->deliver_time)
continue; 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) switch(m->messageType)
{ {