From c6d12b792c3ef8fca187e681206ae9fde4454099 Mon Sep 17 00:00:00 2001 From: ApoC Date: Fri, 6 Mar 2009 23:38:55 +0100 Subject: [PATCH] [7392] Fixed SQL query for storing pending arena points for offline players for PGSQL. Signed-off-by: ApoC --- src/game/BattleGroundMgr.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/BattleGroundMgr.cpp b/src/game/BattleGroundMgr.cpp index 7e7291181..a0583688a 100644 --- a/src/game/BattleGroundMgr.cpp +++ b/src/game/BattleGroundMgr.cpp @@ -1752,7 +1752,7 @@ void BattleGroundMgr::DistributeArenaPoints() for (std::map::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) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 5b2bf5927..ad8269a8f 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7391" + #define REVISION_NR "7392" #endif // __REVISION_NR_H__ -- 2.11.4.GIT