[7392] Fixed SQL query for storing pending arena points for offline players for PGSQL. Author: ApoC

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-06 18:14:41 -06:00
parent c2261e3502
commit 0d53225fdc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)