aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWarpten <vertozor@gmail.com>2014-08-29 15:34:56 +0200
committerWarpten <vertozor@gmail.com>2014-08-29 15:34:56 +0200
commit76943f738e8bdaee93611f71a09b9844a8a20934 (patch)
treecc1140a8e71a4c3a84b8179b54ad9e396a012052 /src
parent743088d683bc0b141a6ea9b1713ff7ad0bd7ea32 (diff)
parent1b7a9d5bfb9261b0a2889aac33e5cf1e68c438ce (diff)
Merge pull request #12963 from ShinDarth/PvPstats
Core/BG: use GetTypeID(true) instead of GetTypeID()
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Battlegrounds/Battleground.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp
index c11ee7a39b7..c88f9beee15 100644
--- a/src/server/game/Battlegrounds/Battleground.cpp
+++ b/src/server/game/Battlegrounds/Battleground.cpp
@@ -764,7 +764,7 @@ void Battleground::EndBattleground(uint32 winner)
{
stmt->setUInt64(0, battleground_id);
stmt->setUInt8(2, m_BracketId + 1);
- stmt->setUInt8(3, GetTypeID());
+ stmt->setUInt8(3, GetTypeID(true));
CharacterDatabase.Execute(stmt);
}