Merge branch 'master' of https://github.com/mangoszero/server
This commit is contained in:
commit
78469affa4
@ -14833,11 +14833,11 @@ void Player::_LoadInventory(QueryResult* result, uint32 timediff)
|
|||||||
// send by mail problematic items
|
// send by mail problematic items
|
||||||
while (!problematicItems.empty())
|
while (!problematicItems.empty())
|
||||||
{
|
{
|
||||||
std::string subject = GetSession()->GetMangosString(LANG_NOT_EQUIPPED_ITEM);
|
std::string subject = "Item could not be loaded to inventory.";
|
||||||
|
std::string content = GetSession()->GetMangosString(LANG_NOT_EQUIPPED_ITEM);
|
||||||
// fill mail
|
// fill mail
|
||||||
MailDraft draft(subject);
|
MailDraft draft(subject);
|
||||||
|
draft.SetSubjectAndBody(subject,content);
|
||||||
for (int i = 0; !problematicItems.empty() && i < MAX_MAIL_ITEMS; ++i)
|
for (int i = 0; !problematicItems.empty() && i < MAX_MAIL_ITEMS; ++i)
|
||||||
{
|
{
|
||||||
Item* item = problematicItems.front();
|
Item* item = problematicItems.front();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user