Browse Source

Fix for incorrect mail received message. Fixes issue #435

Devn00b 1 year ago
parent
commit
352024d59a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      EQ2/source/WorldServer/client.cpp

+ 3 - 1
EQ2/source/WorldServer/client.cpp

@@ -8060,7 +8060,9 @@ void Client::HandleSentMail(EQApplicationPacket* app) {
 							Client* to_client = zone_list.GetClientByCharID(player_to_id);
 							if (to_client) {
 								to_client->GetPlayer()->AddMail(mail);
-								to_client->SimpleMessage(CHANNEL_NARRATIVE, "You've got mail! :)");
+								to_client->SimpleMessage(CHANNEL_NARRATIVE, "You have unread mail in your mailbox.");
+								string popup_text = "You have unread mail!";
+								to_client->SendPopupMessage(10, popup_text.c_str(), "", 3, 0xFF, 0xFF, 0xFF);
 							}
 							database.SavePlayerMail(mail);
 							ResetSendMail(false, false);