aboutsummaryrefslogtreecommitdiff
path: root/src/game/ReputationMgr.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2009-03-27 17:31:34 +0100
committerXTZGZoReX <none@none>2009-03-27 17:31:34 +0100
commit6852a1076502ba3fd824b37ab20b4c5c910eef39 (patch)
tree2fd49fd0033f89b067850e65b15d3c61c4d8c4a5 /src/game/ReputationMgr.cpp
parenta061da662fc7158c1e8f6469f90c8a86f28447c0 (diff)
parent74d88025cbb1568e9359354d3a51f2d3033c7ac0 (diff)
* Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/ReputationMgr.cpp')
-rw-r--r--src/game/ReputationMgr.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/ReputationMgr.cpp b/src/game/ReputationMgr.cpp
index 0ff70201015..62b9504daff 100644
--- a/src/game/ReputationMgr.cpp
+++ b/src/game/ReputationMgr.cpp
@@ -17,7 +17,7 @@
*/
#include "ReputationMgr.h"
-#include "Database/DBCStores.h"
+#include "DBCStores.h"
#include "Player.h"
#include "WorldPacket.h"
@@ -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 )