aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-06 18:14:41 -0600
committermegamage <none@none>2009-03-06 18:14:41 -0600
commit0d53225fdc2b30f1ced3d840d05da6cfbb9a4059 (patch)
tree12f612cdf99a67f6c9954b593843d112b1197daf /src/game
parentc2261e350231a9d2fb7699a27c8991aa76874b14 (diff)
[7392] Fixed SQL query for storing pending arena points for offline players for PGSQL. Author: ApoC
--HG-- branch : trunk
Diffstat (limited to 'src/game')
-rw-r--r--src/game/BattleGroundMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/BattleGroundMgr.cpp b/src/game/BattleGroundMgr.cpp
index a13a4e6de0b..06bdbf54c3f 100644
--- a/src/game/BattleGroundMgr.cpp
+++ b/src/game/BattleGroundMgr.cpp
@@ -1754,7 +1754,7 @@ void BattleGroundMgr::DistributeArenaPoints()
for (std::map<uint32, uint32>::iterator plr_itr = PlayerPoints.begin(); plr_itr != PlayerPoints.end(); ++plr_itr)
{
//update to database
- CharacterDatabase.PExecute("UPDATE characters SET arena_pending_points = '%u' WHERE `guid` = '%u'", plr_itr->second, plr_itr->first);
+ CharacterDatabase.PExecute("UPDATE characters SET arena_pending_points = '%u' WHERE guid = '%u'", plr_itr->second, plr_itr->first);
//add points if player is online
Player* pl = objmgr.GetPlayer(plr_itr->first);
if (pl)