From 4081d7d92f6ecb7f8c3b8000e1241b88adfe67ab Mon Sep 17 00:00:00 2001 From: DDuarte Date: Mon, 10 Nov 2014 00:49:42 +0000 Subject: Build fix --- src/server/game/Accounts/BattlenetAccountMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/server/game/Accounts/BattlenetAccountMgr.cpp b/src/server/game/Accounts/BattlenetAccountMgr.cpp index 6048a1e2b98..8144f28c3e5 100644 --- a/src/server/game/Accounts/BattlenetAccountMgr.cpp +++ b/src/server/game/Accounts/BattlenetAccountMgr.cpp @@ -101,7 +101,7 @@ AccountOpResult Battlenet::AccountMgr::LinkWithGameAccount(std::string const& em PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_BNET_GAME_ACCOUNT_LINK); stmt->setUInt32(0, bnetAccountId); stmt->setUInt8(1, GetMaxIndex(bnetAccountId) + 1); - stmt->setUInt32(gameAccountId); + stmt->setUInt32(2, gameAccountId); LoginDatabase.Execute(stmt); return AccountOpResult::AOR_OK; } @@ -118,7 +118,7 @@ AccountOpResult Battlenet::AccountMgr::UnlinkGameAccount(std::string const& game PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_BNET_GAME_ACCOUNT_LINK); stmt->setNull(0); stmt->setNull(1); - stmt->setUInt32(gameAccountId); + stmt->setUInt32(2, gameAccountId); LoginDatabase.Execute(stmt); return AccountOpResult::AOR_OK; } -- cgit v1.2.3