Core/Guilds: Use correct variable type when saving guild bank tab rigths to DB

This commit is contained in:
Spp
2012-11-09 08:22:03 +01:00
parent fcc524d598
commit 90c95806a7

View File

@@ -290,9 +290,9 @@ void Guild::RankInfo::CreateMissingTabsIfNeeded(uint8 tabs, SQLTransaction& tran
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_INS_GUILD_BANK_RIGHT);
stmt->setUInt32(0, m_guildId);
stmt->setUInt8 (1, i);
stmt->setUInt8 (2, m_rankId);
stmt->setUInt32(3, rightsAndSlots.GetRights());
stmt->setUInt8(1, i);
stmt->setUInt8(2, m_rankId);
stmt->setUInt8(3, rightsAndSlots.GetRights());
stmt->setUInt32(4, rightsAndSlots.GetSlots());
trans->Append(stmt);
}