*fix mail system error thanks to FaTe753 Fixes issue #1616
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -17653,7 +17653,7 @@ void Player::_SaveMail()
|
|||||||
Mail *m = (*itr);
|
Mail *m = (*itr);
|
||||||
if (m->state == MAIL_STATE_CHANGED)
|
if (m->state == MAIL_STATE_CHANGED)
|
||||||
{
|
{
|
||||||
CharacterDatabase.PExecute("UPDATE mail SET itemTextId = '%u',has_items = '%u',expire_time = '" UI64FMTD "', deliver_time = '" UI64FMTD "',money = '%u',cod = '%u',checked = '%u' WHERE id = '%u'",
|
CharacterDatabase.PExecute("UPDATE mail SET has_items = '%u',expire_time = '" UI64FMTD "', deliver_time = '" UI64FMTD "',money = '%u',cod = '%u',checked = '%u' WHERE id = '%u'",
|
||||||
m->HasItems() ? 1 : 0, (uint64)m->expire_time, (uint64)m->deliver_time, m->money, m->COD, m->checked, m->messageID);
|
m->HasItems() ? 1 : 0, (uint64)m->expire_time, (uint64)m->deliver_time, m->money, m->COD, m->checked, m->messageID);
|
||||||
if (m->removedItems.size())
|
if (m->removedItems.size())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user