COre/Mail: Don't allow to mark delete mails as read.
This commit is contained in:
1 parent
22c26548f3
commit
f3852d19e7
1 file changed
+1
-1
@@ -345,7 +345,7 @@ void WorldSession::HandleMailMarkAsRead(WorldPacket& recvData)
|
||||
|
||||
Player* player = _player;
|
||||
Mail* m = player->GetMail(mailId);
|
||||
if (m)
|
||||
if (m && m->state != MAIL_STATE_DELETED)
|
||||
{
|
||||
if (player->unReadMails)
|
||||
--player->unReadMails;
|
||||
|
||||
Reference in new issue
Block a user