mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 16:37:06 +00:00
Dropped itemtextid field from mail table.
This commit is contained in:
parent
50c96da112
commit
d4647bbeaa
10 changed files with 142 additions and 177 deletions
|
|
@ -963,8 +963,7 @@ void BattleGround::SendRewardMarkByMail(Player *plr,uint32 mark, uint32 count)
|
|||
// text
|
||||
std::string textFormat = plr->GetSession()->GetMangosString(LANG_BG_MARK_BY_MAIL);
|
||||
char textBuf[300];
|
||||
snprintf(textBuf,300,textFormat.c_str(),GetName(),GetName());
|
||||
uint32 itemTextId = sObjectMgr.CreateItemText( textBuf );
|
||||
snprintf(textBuf, 300, textFormat.c_str(), GetName(), GetName());
|
||||
|
||||
MailDraft(subject, textBuf)
|
||||
.AddItem(markItem)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue