mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[8151] Fixed some format warnings and typos.
Signed-off-by: VladimirMangos <vladimir@getmangos.com> SOme changes rewrited with using [8150]
This commit is contained in:
parent
e0ddcd6ead
commit
03926619d9
9 changed files with 18 additions and 18 deletions
|
|
@ -281,7 +281,7 @@ bool Guild::LoadRanksFromDB(uint32 GuildId)
|
|||
std::string name = m_ranks[i].name;
|
||||
uint32 rights = m_ranks[i].rights;
|
||||
CharacterDatabase.escape_string(name);
|
||||
CharacterDatabase.PExecute( "INSERT INTO guild_rank (guildid,rid,rname,rights) VALUES ('%u', '%u', '%s', '%u')", GuildId, i+1, name.c_str(), rights);
|
||||
CharacterDatabase.PExecute( "INSERT INTO guild_rank (guildid,rid,rname,rights) VALUES ('%u', '%u', '%s', '%u')", GuildId, uint32(i+1), name.c_str(), rights);
|
||||
}
|
||||
CharacterDatabase.CommitTransaction();
|
||||
}
|
||||
|
|
@ -1991,4 +1991,4 @@ bool GuildItemPosCount::isContainedIn(GuildItemPosCountVec const &vec) const
|
|||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue