From c90ded3ec3c2c01dc37a7fcff311c1c3bba78963 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Mon, 2 Nov 2009 16:22:52 +0300 Subject: [PATCH] [8765] Fixed typo in last commit. --- src/game/Mail.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Mail.cpp b/src/game/Mail.cpp index 42abda90f..1ccae40e2 100644 --- a/src/game/Mail.cpp +++ b/src/game/Mail.cpp @@ -842,7 +842,7 @@ void WorldSession::SendMailTo(Player* receiver, uint8 messageType, uint8 station for(MailItemMap::const_iterator mailItemIter = mi->begin(); mailItemIter != mi->end(); ++mailItemIter) { Item* item = mailItemIter->second; - CharacterDatabase.PExecute("INSERT INTO mail_items (mail_id,item_guid,item_template,receiver) VALUES ('%u', '%u', '%u','%u')", mailId, item->GetGUIDLow(), item->GetEntry(), item->GetGUIDLow()); + CharacterDatabase.PExecute("INSERT INTO mail_items (mail_id,item_guid,item_template,receiver) VALUES ('%u', '%u', '%u','%u')", mailId, item->GetGUIDLow(), item->GetEntry(), receiver_guidlow); } } CharacterDatabase.CommitTransaction(); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index cf542c056..5a883329e 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8764" + #define REVISION_NR "8765" #endif // __REVISION_NR_H__