[7553] Fixed character save/creating. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
1 parent
e5c0576f35
commit
f077ca4c6c
2 files changed
-6
No files matched your search
@@ -444,7 +444,6 @@ void ReputationMgr::LoadFromDB(QueryResult *result)
|
||||
|
||||
void ReputationMgr::SaveToDB()
|
||||
{
|
||||
CharacterDatabase.BeginTransaction();
|
||||
for(FactionStateList::iterator itr = m_factions.begin(); itr != m_factions.end(); ++itr)
|
||||
{
|
||||
if (itr->second.Changed)
|
||||
@@ -454,7 +453,6 @@ void ReputationMgr::SaveToDB()
|
||||
itr->second.Changed = false;
|
||||
}
|
||||
}
|
||||
CharacterDatabase.CommitTransaction();
|
||||
}
|
||||
|
||||
void ReputationMgr::UpdateRankCounters( ReputationRank old_rank, ReputationRank new_rank )
|
||||
|
||||
Reference in new issue
Block a user