Core/DBLayer: Fix another wrong type in mail related code

This commit is contained in:
Nay
2012-04-01 03:09:01 +01:00
parent 409ebcca97
commit 377c5ce36e
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -4822,7 +4822,7 @@ void Player::DeleteFromDB(uint64 playerguid, uint32 accountId, bool updateRealmC
Field* fields = resultMail->Fetch(); Field* fields = resultMail->Fetch();
uint32 mail_id = fields[0].GetUInt32(); uint32 mail_id = fields[0].GetUInt32();
uint16 mailType = fields[1].GetUInt16(); uint16 mailType = fields[1].GetUInt8();
uint16 mailTemplateId= fields[2].GetUInt16(); uint16 mailTemplateId= fields[2].GetUInt16();
uint32 sender = fields[3].GetUInt32(); uint32 sender = fields[3].GetUInt32();
std::string subject = fields[4].GetString(); std::string subject = fields[4].GetString();