diff options
| author | Blaymoira <none@none> | 2008-12-12 20:34:51 +0100 |
|---|---|---|
| committer | Blaymoira <none@none> | 2008-12-12 20:34:51 +0100 |
| commit | ab59d3adcc2a4afc743afe1a998290b99ed95929 (patch) | |
| tree | 198a3ddb3aba4e7505869bcb0d631d5a289b817f /src/game/Mail.cpp | |
| parent | ec12b76b392d65f02ad1b2d48508771f77284b50 (diff) | |
| parent | b6c288ca9fb271923f493ee39d78b5dc4b2a996f (diff) | |
*Merged with 464.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Mail.cpp')
| -rw-r--r-- | src/game/Mail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Mail.cpp b/src/game/Mail.cpp index 57d90178869..00211094d4e 100644 --- a/src/game/Mail.cpp +++ b/src/game/Mail.cpp @@ -348,13 +348,13 @@ void WorldSession::HandleReturnToSender(WorldPacket & recv_data ) } } - SendReturnToSender(MAIL_NORMAL, GetAccountId(), m->receiver, m->sender, m->subject, m->itemTextId, &mi, m->money, 0, m->mailTemplateId); + SendReturnToSender(MAIL_NORMAL, GetAccountId(), m->receiver, m->sender, m->subject, m->itemTextId, &mi, m->money, m->mailTemplateId); delete m; //we can deallocate old mail pl->SendMailResult(mailId, MAIL_RETURNED_TO_SENDER, 0); } -void WorldSession::SendReturnToSender(uint8 messageType, uint32 sender_acc, uint32 sender_guid, uint32 receiver_guid, std::string subject, uint32 itemTextId, MailItemsInfo *mi, uint32 money, uint32 COD, uint16 mailTemplateId ) +void WorldSession::SendReturnToSender(uint8 messageType, uint32 sender_acc, uint32 sender_guid, uint32 receiver_guid, const std::string& subject, uint32 itemTextId, MailItemsInfo *mi, uint32 money, uint16 mailTemplateId ) { if(messageType != MAIL_NORMAL) // return only to players { |
